ajhc-0.8.0.7: Haskell compiler that produce binary through C language

Safe HaskellNone

FrontEnd.Tc.Class

Synopsis

Documentation

splitPreds :: Monad m => ClassHierarchy -> Set MetaVar -> Preds -> m (Preds, Preds)Source

split predicates into ones that only mention metavars in the list vs other ones

splitReduceSource

Arguments

:: Set MetaVar

Meta vars from the environment

-> Set MetaVar 
-> [Pred]

Relevant predicates

-> Tc ([MetaVar], [Pred], [Pred])

(retained ??? meta-vars, untouched predicates, altered predicates)

type Preds = [Pred]Source