unison-parser-typechecker-0.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

Unison.KindInference.Constraint.Context

Synopsis

Documentation

data ConstraintContext v loc Source #

The context in which the constraint was generated. This is useful when generating user-facing error messages.

Constructors

AppAbs !(UVar v loc) !(UVar v loc) 
AppArg !(UVar v loc) !(UVar v loc) !(UVar v loc) 
AppArrow loc !(Type v loc) !(Type v loc) 
Annotation 
EffectsList 
ScopeReference 
TypeAnnotation 
DeclDefinition 
Builtin 
ContextLookup 

Instances

Instances details
(Show v, Show loc) => Show (ConstraintContext v loc) Source # 
Instance details

Defined in Unison.KindInference.Constraint.Context

(Var v, Eq loc) => Eq (ConstraintContext v loc) Source # 
Instance details

Defined in Unison.KindInference.Constraint.Context

(Var v, Ord loc) => Ord (ConstraintContext v loc) Source # 
Instance details

Defined in Unison.KindInference.Constraint.Context