Hoogle Search
Within LTS Haskell 24.26 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
cborg Codec.CBOR.FlatTerm No documentation available.
-
cborg Codec.CBOR.Term No documentation available.
-
dbus DBus No documentation available.
-
dbus DBus.Internal.Types No documentation available.
-
dbus DBus.Internal.Types No documentation available.
-
dhall Dhall.Parser.Token Parse the Bool built-in This corresponds to the Bool rule from the official grammar
fromBool :: (Enum a, Bits w) => a -> Bool -> T w aenumset Data.EnumBitSet No documentation available.
caseBool :: Expr -> Expr -> Expr -> Exprexpress Data.Express.Fixtures A function case :: Bool -> a -> a -> a lifted over the Expr type that encodes case-of-False-True functionality. This is properly displayed as a case-of-False-True expression.
> caseBool pp zero xx (case p of False -> 0; True -> x) :: Int
> zz -*- caseBool pp xx yy z * (case p of False -> x; True -> y) :: Int
> caseBool pp false true -||- caseBool qq true false (caseBool p of False -> False; True -> True) || (caseBool q of False -> True; True -> False) :: Bool
> evl $ caseBool true (val 'f') (val 't') :: Char 't'
By convention, the False case comes before True as False < True and data Bool = False | True. When evaluating, this is equivalent to if with arguments reversed. Instead of using this, you are perhaps better of using if encoded as an expression. This is just here to be consistent with caseOrdering.-
express Data.Express.Fixtures The list constructor : encoded as an Expr.
-
express Data.Express.Fixtures