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.

  1. CBool :: Word8 -> CBool

    base Foreign.C.Types

    No documentation available.

  2. fromBool :: Num a => Bool -> a

    base Foreign.Marshal.Utils

    Convert a Haskell Bool to its numeric representation

  3. toBool :: (Eq a, Num a) => a -> Bool

    base Foreign.Marshal.Utils

    Convert a Boolean in numeric representation to a Haskell value

  4. safeReadBool :: String -> Maybe Bool

    tasty Test.Tasty.Options

    Parse a Bool case-insensitively.

  5. withBool :: String -> (Bool -> Parser a) -> Value -> Parser a

    aeson Data.Aeson

    withBool expected f value applies f to the Bool when value is a Boolean and fails otherwise.

    Error message example

    withBool "MyType" f (String "oops")
    -- Error: "parsing MyType failed, expected Boolean, but encountered String"
    

  6. withBool :: String -> (Bool -> Parser a) -> Value -> Parser a

    aeson Data.Aeson.Types

    withBool expected f value applies f to the Bool when value is a Boolean and fails otherwise.

    Error message example

    withBool "MyType" f (String "oops")
    -- Error: "parsing MyType failed, expected Boolean, but encountered String"
    

  7. assertBool :: HasCallStack => String -> Bool -> Assertion

    tasty-hunit Test.Tasty.HUnit

    Asserts that the specified condition holds.

  8. assertBool :: HasCallStack => String -> Bool -> Assertion

    HUnit Test.HUnit.Base

    Asserts that the specified condition holds.

  9. data SBool (b :: Bool)

    gogol-core Gogol.Prelude

    No documentation available.

  10. class SBoolI (b :: Bool)

    gogol-core Gogol.Prelude

    No documentation available.

Page 70 of many | Previous | Next