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

Safe HaskellNone
LanguageHaskell98

DDC.Core.Exp.Annot.AnTEC

Synopsis

Documentation

data AnTEC a n Source

The type checker adds this annotation to every node in the AST, giving its type, effect and closure.

Constructors

AnTEC 

Instances

(Show a, Show n) => Show (AnTEC a n) Source 
Pretty (AnTEC a n) Source 
(NFData a, NFData n) => NFData (AnTEC a n) Source 

fromAnT :: AnT a n -> AnTEC a n Source

Promote an AnT to an AnTEC by filling in the effect and closure portions with bottoms.