intensional-datatys-0.2.0.0: A GHC Core plugin for intensional datatype refinement checking
Safe HaskellNone
LanguageHaskell2010

Intensional.InferM

Synopsis

Documentation

data InferEnv Source #

Constructors

InferEnv 

data Stats Source #

Constructors

Stats 

Fields

noteErrs :: ConstraintSet -> InferM () Source #

Given a set of trivially unsatisfiable constraints es, noteErrs es is the action that records them in the accumulating set in the inference state.

cexs :: ConstraintSet -> InferM ConstraintSet Source #

Given a constraint set cs, cexs cs is the inference action that attempts to build a model of cs and returns the set of counterexamples.