HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

ModuleAgda-2.8.0.2Haskell2010

Agda.Utils.Applicative

  • 6 values
  • PackageAgda-2.8.0.2
  • Exports6
  • 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