Safe Haskell | None |
---|---|
Language | Haskell2010 |
Generation of type-level AST fragments for refactorings.
The bindings defined here create a the annotated version of the AST constructor with the same name.
For example, mkTyForall
creates the annotated version of the TyForall
AST constructor.
- mkTyForall :: [Ann TyVar dom SrcTemplateStage] -> Ann Type dom SrcTemplateStage -> Ann Type dom SrcTemplateStage
- mkTypeVar' :: Name -> Ann TyVar dom SrcTemplateStage
- mkTyCtx :: Ann Context dom SrcTemplateStage -> Ann Type dom SrcTemplateStage -> Ann Type dom SrcTemplateStage
- mkTyFun :: Ann Type dom SrcTemplateStage -> Ann Type dom SrcTemplateStage -> Ann Type dom SrcTemplateStage
- mkTyTuple :: [Ann Type dom SrcTemplateStage] -> Ann Type dom SrcTemplateStage
- mkTyUnbTuple :: [Ann Type dom SrcTemplateStage] -> Ann Type dom SrcTemplateStage
- mkTyList :: Ann Type dom SrcTemplateStage -> Ann Type dom SrcTemplateStage
- mkTyParArray :: Ann Type dom SrcTemplateStage -> Ann Type dom SrcTemplateStage
- mkTyApp :: Ann Type dom SrcTemplateStage -> Ann Type dom SrcTemplateStage -> Ann Type dom SrcTemplateStage
- mkTyInfix :: Ann Type dom SrcTemplateStage -> Ann Operator dom SrcTemplateStage -> Ann Type dom SrcTemplateStage -> Ann Type dom SrcTemplateStage
- mkTyParen :: Ann Type dom SrcTemplateStage -> Ann Type dom SrcTemplateStage
- mkTypeVar :: Ann Name dom SrcTemplateStage -> Ann TyVar dom SrcTemplateStage
- mkTyVar :: Ann Name dom SrcTemplateStage -> Ann Type dom SrcTemplateStage
- mkTyKinded :: Ann Type dom SrcTemplateStage -> Ann Kind dom SrcTemplateStage -> Ann Type dom SrcTemplateStage
- mkTyBang :: Ann Type dom SrcTemplateStage -> Ann Type dom SrcTemplateStage
- mkTyLazy :: Ann Type dom SrcTemplateStage -> Ann Type dom SrcTemplateStage
- mkTyUnpack :: Ann Type dom SrcTemplateStage -> Ann Type dom SrcTemplateStage
- mkTyWildcard :: Ann Type dom SrcTemplateStage
- mkTyNamedWildcard :: Ann Name dom SrcTemplateStage -> Ann Type dom SrcTemplateStage
- mkContextOne :: Ann Assertion dom SrcTemplateStage -> Ann Context dom SrcTemplateStage
- mkContextMulti :: [Ann Assertion dom SrcTemplateStage] -> Ann Context dom SrcTemplateStage
- mkClassAssert :: Ann Name dom SrcTemplateStage -> [Ann Type dom SrcTemplateStage] -> Ann Assertion dom SrcTemplateStage
- mkInfixAssert :: Ann Type dom SrcTemplateStage -> Ann Operator dom SrcTemplateStage -> Ann Type dom SrcTemplateStage -> Ann Assertion dom SrcTemplateStage
Generation of types
mkTyForall :: [Ann TyVar dom SrcTemplateStage] -> Ann Type dom SrcTemplateStage -> Ann Type dom SrcTemplateStage Source #
mkTypeVar' :: Name -> Ann TyVar dom SrcTemplateStage Source #
mkTyCtx :: Ann Context dom SrcTemplateStage -> Ann Type dom SrcTemplateStage -> Ann Type dom SrcTemplateStage Source #
mkTyFun :: Ann Type dom SrcTemplateStage -> Ann Type dom SrcTemplateStage -> Ann Type dom SrcTemplateStage Source #
mkTyTuple :: [Ann Type dom SrcTemplateStage] -> Ann Type dom SrcTemplateStage Source #
mkTyUnbTuple :: [Ann Type dom SrcTemplateStage] -> Ann Type dom SrcTemplateStage Source #
mkTyList :: Ann Type dom SrcTemplateStage -> Ann Type dom SrcTemplateStage Source #
mkTyParArray :: Ann Type dom SrcTemplateStage -> Ann Type dom SrcTemplateStage Source #
mkTyApp :: Ann Type dom SrcTemplateStage -> Ann Type dom SrcTemplateStage -> Ann Type dom SrcTemplateStage Source #
mkTyInfix :: Ann Type dom SrcTemplateStage -> Ann Operator dom SrcTemplateStage -> Ann Type dom SrcTemplateStage -> Ann Type dom SrcTemplateStage Source #
mkTyParen :: Ann Type dom SrcTemplateStage -> Ann Type dom SrcTemplateStage Source #
mkTypeVar :: Ann Name dom SrcTemplateStage -> Ann TyVar dom SrcTemplateStage Source #
mkTyVar :: Ann Name dom SrcTemplateStage -> Ann Type dom SrcTemplateStage Source #
mkTyKinded :: Ann Type dom SrcTemplateStage -> Ann Kind dom SrcTemplateStage -> Ann Type dom SrcTemplateStage Source #
mkTyBang :: Ann Type dom SrcTemplateStage -> Ann Type dom SrcTemplateStage Source #
mkTyLazy :: Ann Type dom SrcTemplateStage -> Ann Type dom SrcTemplateStage Source #
mkTyUnpack :: Ann Type dom SrcTemplateStage -> Ann Type dom SrcTemplateStage Source #
mkTyWildcard :: Ann Type dom SrcTemplateStage Source #
mkTyNamedWildcard :: Ann Name dom SrcTemplateStage -> Ann Type dom SrcTemplateStage Source #
Generation of contexts
mkContextOne :: Ann Assertion dom SrcTemplateStage -> Ann Context dom SrcTemplateStage Source #
mkContextMulti :: [Ann Assertion dom SrcTemplateStage] -> Ann Context dom SrcTemplateStage Source #
Generation of assertions
mkClassAssert :: Ann Name dom SrcTemplateStage -> [Ann Type dom SrcTemplateStage] -> Ann Assertion dom SrcTemplateStage Source #
mkInfixAssert :: Ann Type dom SrcTemplateStage -> Ann Operator dom SrcTemplateStage -> Ann Type dom SrcTemplateStage -> Ann Assertion dom SrcTemplateStage Source #