HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

ModuleAgda-2.7.0.1Haskell2010

Agda.TypeChecking.Constraints

  • 24 values
  • PackageAgda-2.7.0.1
  • Exports24
  • LanguageHaskell2010
  • LicenceMIT
  • SourceConstraints.hs
valueguardConstraint :: Constraint -> TCM () -> TCM ()
#

guardConstraint c blocker tries to solve blocker first. If successful without constraints, it moves on to solve c, otherwise it adds a c to the constraint pool, blocked by the problem generated by blocker.

Orphan instances

1 instance