ghc-8.4.4: The GHC API

Safe HaskellNone
LanguageHaskell2010

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 FamInst Source #

Build the PData instance tycon for a given type constructor.

buildPDatasTyCon :: TyCon -> TyCon -> SumRepr -> VM FamInst Source #

Build the PDatas instance tycon for a given type constructor.