HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

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