syntax-tree-0.1.0.0: Typed ASTs

Safe HaskellNone
LanguageHaskell2010

AST.TH.Traversable

Description

Generate KTraversable and related instances via TemplateHaskell

Synopsis

Documentation

makeKTraversable :: Name -> DecsQ Source #

Generate a KTraversable instance

makeKTraversableAndBases :: Name -> DecsQ Source #

Generate a KTraversable instance along with the instance of its base classes: KFoldable, KFunctor, and KNodes.

makeKTraversableApplyAndBases :: Name -> DecsQ Source #

Generate KTraversable and KApply instances along with all of their base classes: KFoldable, KFunctor, KPointed, and KNodes.