Hoogle Search
Within LTS Haskell 24.18 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
xmonad-contrib XMonad.Config.Prime No documentation available.
-
base Data.Bool 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
-
aeson Data.Aeson.Encoding No documentation available.
-
aeson Data.Aeson.Encoding.Internal No documentation available.
-
hedgehog Hedgehog.Gen Generates a random boolean. This generator shrinks to False. This is a specialization of enumBounded, offered for convenience.
-
hedgehog Hedgehog.Internal.Gen Generates a random boolean. This generator shrinks to False. This is a specialization of enumBounded, offered for convenience.
-
base-compat Data.Bool.Compat 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
-
yaml Data.Yaml.Builder No documentation available.
bool :: Boolean a => a -> Boolxml-conduit Text.XML.Cursor No documentation available.
-
ansi-wl-pprint Text.PrettyPrint.ANSI.Leijen No documentation available.