Agda-2.6.0.1: A dependently typed functional programming language and proof assistant

Safe HaskellNone
LanguageHaskell2010

Agda.TypeChecking.Monad.Constraints

Contents

Synopsis

Documentation

stealConstraints :: ProblemId -> TCM () Source #

Add all constraints belonging to the given problem to the current problem(s).

getAwakeConstraints :: TCM Constraints Source #

Get the awake constraints

holdConstraints :: (ConstraintStatus -> ProblemConstraint -> Bool) -> TCM a -> TCM a Source #

Suspend constraints matching the predicate during the execution of the second argument. Caution: held sleeping constraints will not be woken up by events that would normally trigger a wakeup call.

addConstraint' :: Constraint -> TCM () Source #

Add new a constraint

addAwakeConstraints :: Constraints -> TCM () Source #

Add already awake constraints

nowSolvingConstraints :: TCM a -> TCM a Source #

Start solving constraints

Lenses