Changeset 13015 for src/Pugs/Val

Show
Ignore:
Timestamp:
09/04/06 06:59:13 (2 years ago)
Author:
audreyt
Message:

* Parameter unpacking, courtesy of gaal++

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Val/Code.hs

    r12987 r13015  
    103103    , p_constraints :: [Code]        -- ^ Dynamic pieces of runtime-mood 
    104104                                     --   E.g. where {...} above 
    105     , p_unpacking   :: Maybe PureSig -- ^ E.g. BinTree $t (Left $l, Right $r) 
     105    , p_unpacking   :: Maybe Val -- XXX: the next line is correct, but how to do Val -> PureSig in Parser? 
     106    --, p_unpacking   :: Maybe PureSig -- ^ E.g. BinTree $t (Left $l, Right $r) 
    106107    , p_default     :: ParamDefault  -- ^ E.g. $answer? = 42 
    107108    , p_label       :: ID            -- ^ The external name for the param ('m' above)