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

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 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