Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Documentation
freshTyType :: Bool -> KVKind -> CoreExpr -> Type -> CG SpecType Source #
Generation: Freshness -----------------------------------------------------
Right now, we generate NO new pvars. Rather than clutter code
with uRType
calls, put it in one place where the above
invariant is obviously enforced.
Constraint generation should ONLY use freshTyType
and freshTyExpr