Top-1.7: Constraint solving framework employed by the Helium Compiler.

Safe HaskellSafe-Infered

Top.Implementation.Overloading

Description

 

Documentation

data OverloadingState info Source

Constructors

OverloadingState 

Fields

classEnvironment :: ClassEnvironment

All known type classes and instances

predicateMap :: PredicateMap info

Type class assertions

typeClassDirectives :: TypeClassDirectives info

Directives for type class assertions

ambiguous :: (HasBasic m info, HasTI m info, TypeConstraintInfo info) => [(Predicate, info)] -> m ()Source

substPredicate :: HasSubst m info => (Predicate, info) -> m (Predicate, info)Source

data PredicateMap info Source

Constructors

PredicateMap 

Fields

globalQualifiers :: [(Predicate, info)]
 
globalGeneralizedQs :: [(Predicate, info)]
 
globalAssumptions :: [(Predicate, info)]
 

Instances