ddc-core-flow-0.4.3.1: Disciplined Disciple Compiler data flow compiler.

Safe HaskellSafe
LanguageHaskell98

DDC.Core.Flow.Transform.Annotate

Synopsis

Documentation

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.

Minimal complete definition

annotate

Methods

annotate :: a -> c1 a n -> c2 a n Source #

Instances

Annotate Cast Cast Source # 

Methods

annotate :: a -> Cast a n -> Cast a n Source #

Annotate Witness Witness Source # 

Methods

annotate :: a -> Witness a n -> Witness a n Source #

Annotate Alt Alt Source # 

Methods

annotate :: a -> Alt a n -> Alt a n Source #

Annotate Lets Lets Source # 

Methods

annotate :: a -> Lets a n -> Lets a n Source #

Annotate Exp Exp Source # 

Methods

annotate :: a -> Exp a n -> Exp a n Source #