Changeset 13494 for src/Pugs/Val
- Timestamp:
- 09/20/06 13:29:34 (2 years ago)
- Files:
-
- 1 modified
-
src/Pugs/Val/Code.hs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Val/Code.hs
r13488 r13494 170 170 staticTypes = hsep $ map (text . Types.showType) $ p_types p 171 171 defaultHint = if not isReq && not haveDefault then text "?" else empty 172 haveDefault = isJust $ unDefault $ p_default p 173 defaultVal = if haveDefault then equals <+> text "{...}" else empty -- FIXME: pretty the exp, if we lift into Eval? 172 defaultExp = fromJust . unDefault $ p_default p 173 haveDefault = isJust . unDefault $ p_default p 174 defaultVal = if haveDefault then equals <+> prettyExp defaultExp else empty 174 175 traits = sep [acc, ref, lazy, slots] 175 176 unpacking = case p_unpacking p of
