Changeset 13353 for src/Pugs/Val
- Timestamp:
- 09/16/06 08:30:44 (2 years ago)
- Files:
-
- 1 modified
-
src/Pugs/Val/Code.hs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Val/Code.hs
r13273 r13353 161 161 162 162 prettyParam :: Param -> Bool -> Bool -> Doc 163 prettyParam p isReq isPos = staticTypes <+> varName <> defaultHint <+> sep 164 [ traits, unpacking, constraints, debugDump ] 163 prettyParam p isReq isPos = sep [ staticTypes, varDecl, traits, unpacking, constraints, debugDump ] 165 164 where 165 varDecl = varName <> defaultHint 166 166 varName 167 167 | isPos = text (cast $ p_variable p)
