Changeset 13250 for src/Pugs/Val
- Timestamp:
- 09/13/06 02:14:52 (2 years ago)
- Files:
-
- 1 modified
-
src/Pugs/Val/Code.hs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Val/Code.hs
r13216 r13250 98 98 -} 99 99 data SigParam = MkParam 100 { p_variable :: ID-- ^ E.g. $m above100 { p_variable :: Var -- ^ E.g. $m above 101 101 , p_types :: [Types.Type] -- ^ Static pieces of inferencer-food 102 102 -- E.g. Elk above … … 166 166 varName 167 167 | isPos = text (cast $ p_variable p) 168 | Buf.tail (cast $ p_variable p) == (cast $ p_label p)= text $ ":" ++ (cast $ p_variable p)168 | v_name (p_variable p) == p_label p = text $ ":" ++ (cast $ p_variable p) 169 169 | otherwise = text ":" <> text (cast p_label p) <> (parens $ text (cast p_variable p)) 170 170 -- staticTypes = hsep $ map (text . (cast :: Types.Type -> String)) $ p_types p XXX: why is this wrong?
