ddc-core-flow-0.4.3.1: Disciplined Disciple Compiler data flow compiler.
DDC.Core.Flow.Transform.Annotate
Synopsis
class Annotate c1 c2 | c1 -> c2 where Source #
Convert the Simple version of the AST to the Annot version, using a the provided default annotation value.
Simple
Annot
Minimal complete definition
annotate
Methods
annotate :: a -> c1 a n -> c2 a n Source #
Instances
annotate :: a -> Cast a n -> Cast a n Source #
annotate :: a -> Witness a n -> Witness a n Source #
annotate :: a -> Alt a n -> Alt a n Source #
annotate :: a -> Lets a n -> Lets a n Source #
annotate :: a -> Exp a n -> Exp a n Source #