Remove the distinction between data and newtype families
authorManuel M T Chakravarty <chak@cse.unsw.edu.au>
Fri, 11 May 2007 11:30:57 +0000 (11:30 +0000)
committerManuel M T Chakravarty <chak@cse.unsw.edu.au>
Fri, 11 May 2007 11:30:57 +0000 (11:30 +0000)
commit6777144f7522d8db5935737e12fa451ca3211e6d
treeb33c3086223f629950a8d90d508377b2eaeb2798
parent4d7f33a5ea53c2bf5900785dc3946c13c04430c1
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.                   **
compiler/hsSyn/HsDecls.lhs
compiler/iface/BinIface.hs
compiler/iface/BuildTyCl.lhs
compiler/iface/IfaceSyn.lhs
compiler/iface/MkIface.lhs
compiler/iface/TcIface.lhs
compiler/parser/Parser.y.pp
compiler/rename/RnSource.lhs
compiler/typecheck/TcDeriv.lhs
compiler/typecheck/TcTyClsDecls.lhs
compiler/types/TyCon.lhs