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

# Documentation

class SpreadT c where Source #

Minimal complete definition

Methods

spreadT :: forall n. Ord n => TypeEnv n -> c n -> c n Source #

Rewrite UName bounds to UPrim bounds and attach their types. Primitives have their types attached because they are so common in the language, their types are closed, and we don't want to keep having to look them up from the environment.

Instances