ddc-core-0.4.2.1: Disciplined Disciple Compiler core language and type checker.

Safe HaskellSafe
LanguageHaskell98

DDC.Core.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.

Methods

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