morley-1.18.0: Developer tools for the Michelson Language
Safe HaskellSafe-Inferred
LanguageHaskell2010

Morley.Util.TH

Synopsis

Documentation

deriveGADTNFData :: Name -> Q [Dec] Source #

Generates an NFData instance for a GADT. Note: This will not generate additional constraints to the generated instance if those are required.

isTypeAlias :: Name -> Q Bool Source #

Check if name is a type

addTypeVariables :: Name -> TypeQ Source #

Accepts a type constructor and fills it with variables until getting a type of kind *.