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

Agda.TypeChecking.Constraints

Synopsis

Documentation

catchConstraint :: MonadTCM tcm => Constraint -> TCM Constraints -> tcm Constraints

Catch pattern violation errors and adds a constraint.

addNewConstraints :: MonadTCM tcm => Constraints -> tcm ()

Try to solve the constraints to be added.

noConstraints :: MonadTCM tcm => tcm Constraints -> tcm ()

Don't allow the argument to produce any constraints.

guardConstraint :: MonadTCM tcm => tcm Constraints -> Constraint -> tcm Constraints

Guard constraint

wakeupConstraints :: MonadTCM tcm => tcm ()

We ignore the constraint ids and (as in Agda) retry all constraints every time. We probably generate very few constraints.