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.Utils.Applicative

  • 5 values
  • PackageAgda-2.7.0.1
  • Exports5
  • LanguageHaskell2010
  • LicenceMIT
  • SourceApplicative.hs
value(?*>) :: Alternative f => Bool -> f a -> f a
#

Guard: return the action f only if the boolean is True

value(?$>) :: Alternative f => Bool -> a -> f a
#

Guard: return the value a only if the boolean is True