Improve External Core newtype syntax
authorTim Chevalier <chevalier@alum.wellesley.edu>
Sun, 4 May 2008 23:02:33 +0000 (23:02 +0000)
committerTim Chevalier <chevalier@alum.wellesley.edu>
Sun, 4 May 2008 23:02:33 +0000 (23:02 +0000)
commit044805225a08d5e370b72d2efed66880912b0806
treeac9439748ea8e74e552370c97fd0365f63964f44
parent650a23c61c6da4666a4cabd7ec5cca65eacd9db8
Improve External Core newtype syntax

I realized that recursive newtypes no longer have to be
distinguished in the External Core AST, because explicit coercions
allow the typechecker to typecheck newtypes without ever
expanding newtypes. So, now all newtypes in External Core have
a representation clause. O frabjous day!
compiler/coreSyn/ExternalCore.lhs
compiler/coreSyn/MkExternalCore.lhs
compiler/coreSyn/PprExternalCore.lhs