diff options
Diffstat (limited to 'src/GF/Compile/PGFPretty.hs')
| -rw-r--r-- | src/GF/Compile/PGFPretty.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GF/Compile/PGFPretty.hs b/src/GF/Compile/PGFPretty.hs index 178f8866b..309ce5c31 100644 --- a/src/GF/Compile/PGFPretty.hs +++ b/src/GF/Compile/PGFPretty.hs @@ -31,8 +31,8 @@ prCat :: CId -> [Hypo] -> Doc prCat c h | isLiteralCat c = empty | otherwise = text "cat" <+> text (prCId c) -prFun :: CId -> (Type,[Equation]) -> Doc -prFun f (t,_) = text "fun" <+> text (prCId f) <+> text ":" <+> prType t +prFun :: CId -> (Type,Int,[Equation]) -> Doc +prFun f (t,_,_) = text "fun" <+> text (prCId f) <+> text ":" <+> prType t prType :: Type -> Doc prType t = parens (hsep (punctuate (text ",") (map (text . prCId) cs))) <+> text "->" <+> text (prCId c) |
