Hoogle Search
Within LTS Haskell 24.28 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
prettyprinter-compat-wl-pprint Text.PrettyPrint.Leijen No documentation available.
-
verset Verset Case analysis for the Bool type. bool f t p evaluates to f when p is False, and evaluates to t when p is True. This is equivalent to if p then t else f; that is, one can think of it as an if-then-else construct with its arguments reordered.
Examples
Basic usage:>>> bool "foo" "bar" True "bar" >>> bool "foo" "bar" False "foo"
Confirm that bool f t p and if p then t else f are equivalent:>>> let p = True; f = "bar"; t = "foo" >>> bool f t p == if p then t else f True >>> let p = False >>> bool f t p == if p then t else f True
-
wl-pprint Text.PrettyPrint.Leijen No documentation available.
module GHC.Data.
BooleanFormula Boolean formulas without quantifiers and without negation. Such a formula consists of variables, conjunctions (and), and disjunctions (or). This module is used to represent minimal complete definitions for classes.
-
ghc GHC.Data.BooleanFormula No documentation available.
-
ghc GHC.StgToJS.Types No documentation available.
-
Cabal Distribution.Simple.Command No documentation available.
-
Cabal Distribution.Simple.Flag Types that represent boolean flags.
-
Cabal Distribution.Simple.Setup Types that represent boolean flags.
-
xml-conduit Text.XML.Cursor Something that can be used in a predicate check as a boolean.