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

Safe HaskellSafe-Inferred



class SpreadT c whereSource


spreadT :: forall n. Ord n => TypeEnv n -> c n -> c nSource

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.