| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Language.PureScript.TypeChecker.Entailment.IntCompare
Description
Graph-based solver for comparing type-level numbers with respect to reflexivity, symmetry, and transitivity properties.
Documentation
Instances
| Functor Relation Source # | |
| Show a => Show (Relation a) Source # | |
| Eq a => Eq (Relation a) Source # | |
| Ord a => Ord (Relation a) Source # | |
Defined in Language.PureScript.TypeChecker.Entailment.IntCompare | |
type PSOrdering = Qualified (ProperName 'TypeName) Source #
solveRelation :: forall a. Ord a => Context a -> a -> a -> Maybe PSOrdering Source #