Safe Haskell | None |
---|
Data Constructors in CoreHW
Documentation
Data Constructor
MkData | |
|
dataConInstArgTys :: DataCon -> [Type] -> [Type]Source
Given a DataCon and a list of types, the type variables of the DataCon type are substituted for the list of types. The argument types are returned.
The list of types should be equal to the number of type variables, otherwise an error is reported.