Generating synonym instance representation tycons
authorManuel M T Chakravarty <chak@cse.unsw.edu.au>
Wed, 25 Apr 2007 09:16:46 +0000 (09:16 +0000)
committerManuel M T Chakravarty <chak@cse.unsw.edu.au>
Wed, 25 Apr 2007 09:16:46 +0000 (09:16 +0000)
commit13cd965d80be5c25dc54534a833df39ab7aa7a12
tree57c573a1251431293820dfcd9026391b3bd1d371
parent0560e796f1d813582e066a5f2bec2684c71df44d
Generating synonym instance representation tycons
- Type synonym instances are turned into representation synonym tycons
- They are entered into the pool of family instances (FamInst environments)
  in the same way as data/newtype instances
- Still missing is writing the parent tycon information into ifaces and
  various well-formedness checks.
compiler/iface/BuildTyCl.lhs
compiler/iface/TcIface.lhs
compiler/prelude/TysWiredIn.lhs
compiler/typecheck/TcEnv.lhs
compiler/typecheck/TcTyClsDecls.lhs
compiler/types/Coercion.lhs
compiler/types/FamInstEnv.lhs
compiler/types/TyCon.lhs