Hoogle Search
Within LTS Haskell 24.39 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
boolValue :: (Functor f, HasField s "boolValue" a) => LensLike' f s aproto-lens-protobuf-types Proto.Google.Protobuf.Struct_Fields No documentation available.
booleanValue :: (Functor f, HasField s "booleanValue" a) => LensLike' f s ariak-protobuf Data.Riak.Proto No documentation available.
-
yi-mode-javascript Yi.Syntax.JavaScript Parses any boolean.
-
base Foreign.C.Types Haskell type representing the C bool type. (The concrete types of Foreign.C.Types#platform are platform-specific.)
-
base Foreign.C.Types No documentation available.
fromBool :: Num a => Bool -> abase Foreign.Marshal.Utils Convert a Haskell Bool to its numeric representation
toBool :: (Eq a, Num a) => a -> Boolbase Foreign.Marshal.Utils Convert a Boolean in numeric representation to a Haskell value
safeReadBool :: String -> Maybe Booltasty Test.Tasty.Options Parse a Bool case-insensitively.
withBool :: String -> (Bool -> Parser a) -> Value -> Parser aaeson 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"
withBool :: String -> (Bool -> Parser a) -> Value -> Parser aaeson 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"