Hoogle Search

Within LTS Haskell 24.34 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. handleBool :: Exception e => (e -> Bool) -> (e -> IO a) -> IO a -> IO a

    extra Extra

    Like catchBool but for handle.

  2. retryBool :: Exception e => (e -> Bool) -> Int -> IO a -> IO a

    extra Extra

    Retry an operation at most n times (n must be positive), while the exception value and type match a predicate. If the operation fails the nth time it will throw that final exception.

  3. tryBool :: Exception e => (e -> Bool) -> IO a -> IO (Either e a)

    extra Extra

    Like catchBool but for try.

  4. data SBool (b :: Bool)

    servant Servant.API

    No documentation available.

  5. class SBoolI (b :: Bool)

    servant Servant.API

    No documentation available.

  6. sbool :: SBoolI b => SBool b

    servant Servant.API

    No documentation available.

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

    yaml Data.Yaml

    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"
    

  8. maybeNamedBool :: Maybe Text -> Bool -> YamlBuilder

    yaml Data.Yaml.Builder

    No documentation available.

  9. namedBool :: Text -> Bool -> YamlBuilder

    yaml Data.Yaml.Builder

    No documentation available.

  10. asBool :: BooleanFlag a => a -> Bool

    Cabal Distribution.Simple.Flag

    No documentation available.

Page 75 of many | Previous | Next