ghc-7.8.20140130: The GHC API

Safe HaskellNone
LanguageHaskell98

Vectorise.Generic.PData

Description

Build instance tycons for the PData and PDatas type families.

TODO: the PData and PDatas cases are very similar. We should be able to factor out the common parts.

Synopsis

Documentation

buildPDataTyCon :: TyCon -> TyCon -> SumRepr -> VM FamInstSource

Build the PData instance tycon for a given type constructor.

buildPDatasTyCon :: TyCon -> TyCon -> SumRepr -> VM FamInstSource

Build the PDatas instance tycon for a given type constructor.