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.
handleBool :: Exception e => (e -> Bool) -> (e -> IO a) -> IO a -> IO aextra Extra retryBool :: Exception e => (e -> Bool) -> Int -> IO a -> IO aextra 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.
tryBool :: Exception e => (e -> Bool) -> IO a -> IO (Either e a)extra Extra -
servant Servant.API No documentation available.
-
servant Servant.API No documentation available.
-
servant Servant.API No documentation available.
withBool :: String -> (Bool -> Parser a) -> Value -> Parser ayaml 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"
maybeNamedBool :: Maybe Text -> Bool -> YamlBuilderyaml Data.Yaml.Builder No documentation available.
namedBool :: Text -> Bool -> YamlBuilderyaml Data.Yaml.Builder No documentation available.
asBool :: BooleanFlag a => a -> BoolCabal Distribution.Simple.Flag No documentation available.