Skip to content

Commit

Permalink
Print [] and : as Nil and Cons in expressions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Tomb committed Aug 27, 2011
1 parent 6f12e0c commit 61bad35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Language/Core/Isabelle.hs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ processExp e = processExp' False e
nest' False = nest 3
processExp' :: Bool -> Exp -> Doc
processExp' _ (Var (_, _, v)) = z2d v
processExp' _ (Dcon (_, _, d)) = z2d d
processExp' _ (Dcon (_, _, d)) = isaDcon d
processExp' _ (Lit {}) = error "Embedding literals not yet supported."
processExp' b (App exp1 exp2) =
parens (processExp' b exp1 <+> processExp' b exp2)
Expand Down

0 comments on commit 61bad35

Please sign in to comment.