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

Agda.TypeChecking.Constraints

Synopsis

Documentation

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

Catch pattern violation errors and adds a constraint.

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

Try to solve the constraints to be added.

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

Don't allow the argument to produce any constraints.

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

Guard constraint

wakeupConstraints :: MonadTCM tcm => tcm ()Source

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