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

Safe HaskellNone
LanguageHaskell98

Agda.TypeChecking.Monad.Constraints

Contents

Synopsis

Documentation

currentProblem :: TCM ProblemId Source

Get the current problem

stealConstraints :: ProblemId -> TCM () Source

Steal all constraints belonging to the given problem and add them to the current problem.

getAwakeConstraints :: TCM Constraints Source

Get the awake constraints

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