ghc-7.6.3: The GHC API

Safe HaskellNone

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.