Mercurial > urweb
diff src/elaborate.sml @ 1715:1584fd8d16dd
Simplify types for printing with '-dumpTypes'
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Mon, 16 Apr 2012 09:53:48 -0400 |
parents | 64c1e65c2365 |
children | 16ee7ff7f119 |
line wrap: on
line diff
--- a/src/elaborate.sml Mon Apr 16 09:46:42 2012 -0400 +++ b/src/elaborate.sml Mon Apr 16 09:53:48 2012 -0400 @@ -4684,6 +4684,8 @@ open Print.PD open Print + fun p_con env c = ElabPrint.p_con env (ElabOps.reduceCon env c) + fun dumpDecl (d, env) = case #1 d of DCon (x, _, k, _) => (print (box [string x,