patch applied (ghc): Remove the distinction between data and
newtype families
chak at cse.unsw.edu.au
chak at cse.unsw.edu.au
Fri May 11 07:36:27 EDT 2007
Fri May 11 04:30:57 PDT 2007 Manuel M T Chakravarty <chak at cse.unsw.edu.au>
* Remove the distinction between data and newtype families
- This patch removes "newtype family" declarations.
- "newtype instance" declarations can now be instances of data families
- This also fixes bug #1331
** This patch changes the interface format. All libraries and all of **
** Stage 2 & 3 need to be re-compiled from scratch. **
M ./compiler/hsSyn/HsDecls.lhs -4 +3
M ./compiler/iface/BinIface.hs -5 +3
M ./compiler/iface/BuildTyCl.lhs -5 +2
M ./compiler/iface/IfaceSyn.lhs -5
M ./compiler/iface/MkIface.lhs -2 +1
M ./compiler/iface/TcIface.lhs -1
M ./compiler/parser/Parser.y.pp -6 +4
M ./compiler/rename/RnSource.lhs -2 +2
M ./compiler/typecheck/TcDeriv.lhs -1 +4
M ./compiler/typecheck/TcTyClsDecls.lhs -11 +6
M ./compiler/types/TyCon.lhs -5 +1
More information about the Cvs-ghc
mailing list