derive-2.6.3: A program and library to derive instances for data types

Safe Haskell | None
Language | Haskell2010

Language.Haskell.TH.Compat

Description

Compatibility definitions to paper over differences between 6.10 and 6.12.

# Documentation

fromTyVar :: TyVarBndr -> Name Source #

instanceD :: Cxt -> Type -> [Dec] -> Dec Source #

dataDefinitionTypeArgs :: Dec -> [Name] Source #

from_cxt :: Type -> Name Source #

typeToPred :: Type -> Type Source #