Portability | portable (template-haskell) |
---|---|
Stability | experimental |
Maintainer | Matt Morrow <mjm2002@gmail.com> |
Safe Haskell | None |
- class ToName a where
- class ToLit a where
- class ToType a where
- class ToPat a where
- class ToExp a where
- class ToDecs a where
- class ToDec a where
- class ToStmt a where
- class ToLoc a where
- moduleName :: [Char]
- noTH :: Show e => String -> e -> a
- todo :: Show e => String -> e -> a
- nonsense :: Show e => String -> String -> e -> a
- toFieldExp :: FieldUpdate -> FieldExp
- toMatch :: Alt -> Match
- toBody :: GuardedAlts -> Body
- toGuard :: GuardedAlt -> (Guard, Exp)
- toKind :: Kind -> Kind
- toTyVar :: TyVarBind -> TyVarBndr
- (.->.) :: Type -> Type -> Type
- toCxt :: Context -> Cxt
- foldAppT :: Type -> [Type] -> Type
- hsBindsToDecs :: Binds -> [Dec]
- hsBangTypeToStrictType :: BangType -> (Strict, Type)
- transAct :: Activation -> Maybe (Bool, Int)
- qualConDeclToCon :: QualConDecl -> Con
- conDeclToCon :: ConDecl -> Con
- bangToVarStrictTypes :: [Name] -> BangType -> [VarStrictType]
- bangToStrictType :: BangType -> StrictType
- hsMatchesToFunD :: [Match] -> Dec
- hsMatchToClause :: Match -> Clause
- hsRhsToBody :: Rhs -> Body
- hsGuardedRhsToBody :: GuardedRhs -> Body
- hsStmtToGuard :: Stmt -> Guard
- collectVars :: Type -> [TyVarBndr]
- fixForall :: Type -> Type
Documentation
moduleName :: [Char]Source
ToName {String,HsName,Module,HsSpecialCon,HsQName}
ToLit HsLiteral
ToPat HsPat
ToExp HsExp
toBody :: GuardedAlts -> BodySource
toGuard :: GuardedAlt -> (Guard, Exp)Source
ToLoc SrcLoc
ToType HsType
ToStmt HsStmt
ToDec HsDecl
hsBindsToDecs :: Binds -> [Dec]Source
hsBangTypeToStrictType :: BangType -> (Strict, Type)Source
conDeclToCon :: ConDecl -> ConSource
bangToVarStrictTypes :: [Name] -> BangType -> [VarStrictType]Source
hsMatchesToFunD :: [Match] -> DecSource
hsMatchToClause :: Match -> ClauseSource
hsRhsToBody :: Rhs -> BodySource
hsStmtToGuard :: Stmt -> GuardSource
ToDecs InstDecl
ToDecs HsDecl HsBinds
collectVars :: Type -> [TyVarBndr]Source