template-haskell-compat-v0208-0.1.9.5: Backward-compatibility layer for Template Haskell newer than 2.8

Safe Haskell | None
Language | Haskell2010

TemplateHaskell.Compat.V0208

Synopsis

- classP :: Name -> [Type] -> Pred
- instanceD :: Cxt -> Type -> [Dec] -> Dec
- dataD :: Cxt -> Name -> [UnitTyVarBndr] -> [Con] -> [Name] -> Dec
- notStrict :: Strict
- tupE :: [Exp] -> Exp
- flaglessPlainTV :: Name -> UnitTyVarBndr
- specifiedPlainTV :: Name -> SpecificityTyVarBndr
- type SpecificityTyVarBndr = TyVarBndr Specificity
- type UnitTyVarBndr = TyVarBndr ()
- doE :: [Stmt] -> Exp
- tyVarBndrKind :: TyVarBndr flag -> Maybe Kind
- conP :: Name -> [Pat] -> Pat
- conp :: Name -> [Pat] -> Pat

# Documentation

classP :: Name -> [Type] -> Pred Source #

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

dataD :: Cxt -> Name -> [UnitTyVarBndr] -> [Con] -> [Name] -> Dec Source #

notStrict :: Strict Source #

tupE :: [Exp] -> Exp Source #

flaglessPlainTV :: Name -> UnitTyVarBndr Source #

specifiedPlainTV :: Name -> SpecificityTyVarBndr Source #

type SpecificityTyVarBndr = TyVarBndr Specificity Source #

type UnitTyVarBndr = TyVarBndr () Source #

doE :: [Stmt] -> Exp Source #

tyVarBndrKind :: TyVarBndr flag -> Maybe Kind Source #

conP :: Name -> [Pat] -> Pat Source #

conp :: Name -> [Pat] -> Pat Source #

Deprecated: Use `conP`