Changeset 12484 for src/Pugs/Val
- Timestamp:
- 08/19/06 22:43:33 (2 years ago)
- Files:
-
- 1 modified
-
src/Pugs/Val/Code.hs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Val/Code.hs
r12476 r12484 105 105 , p_unpacking :: Maybe PureSig -- ^ E.g. BinTree $t (Left $l, Right $r) 106 106 , p_default :: ParamDefault -- ^ E.g. $answer? = 42 107 , p_label :: ID -- ^ E.g. :mode107 , p_label :: ID -- ^ The external name for the param ('m' above) 108 108 , p_slots :: Table -- ^ Any additional attrib not 109 109 -- explicitly mentioned below 110 110 , p_hasAccess :: ParamAccess -- ^ is ro, is rw, is copy 111 , p_isRef :: Bool 111 , p_isRef :: Bool -- ^ must be true if hasAccess = AccessRW 112 112 , p_isLazy :: Bool 113 113 } … … 134 134 | AccessCopy 135 135 deriving (Show, Eq, Ord, Typeable) {-!derive: YAML_Pos, Perl6Class, MooseClass!-} 136 137 instance ICoercible P Sig where 138 asStr _ = return (cast "<sig>") -- XXX 139 140 instance Pure Sig where {} 141 136 142 137 143 --------------------------------------------------------------------------------------
