syntax-tree-0.1.0.0: Typed ASTs

Safe HaskellNone
LanguageHaskell2010

AST.TH.Apply

Description

Generate KApply and related instances via TemplateHaskell

Synopsis

Documentation

makeKApply :: Name -> DecsQ Source #

Generate an instance of KApply

makeKApplyAndBases :: Name -> DecsQ Source #

Generate an instance of KApply along with its bases KFunctor and KNodes

makeKApplicativeBases :: Name -> DecsQ Source #

Generate instances of KApply, KFunctor, KPointed and KNodes, which together form KApplicative.