1
0
forked from GitHub/gf-core

print semicolon after the ind statement

This commit is contained in:
krasimir
2009-03-05 13:14:17 +00:00
parent 993ceb63bc
commit 10b0a90323

View File

@@ -120,7 +120,7 @@ ppJudgement q (id, CncFun ptype pdef pprn) =
(case pprn of
Just prn -> text "printname" <+> text "fun" <+> ppIdent id <+> equals <+> ppTerm q 0 prn <+> semi
Nothing -> empty)
ppJudgement q (id, AnyInd cann mid) = text "ind" <+> ppIdent id <+> equals <+> (if cann then text "canonical" else empty) <+> ppIdent mid
ppJudgement q (id, AnyInd cann mid) = text "ind" <+> ppIdent id <+> equals <+> (if cann then text "canonical" else empty) <+> ppIdent mid <+> semi
ppTerm q d (Abs v e) = let (vs,e') = getAbs e
in prec d 0 (char '\\' <> commaPunct ppIdent (v:vs) <+> text "->" <+> ppTerm q 0 e')