Hoogle Search
Within LTS Haskell 24.28 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
autodocodec Autodocodec.Codec Codec for boolean values
Example usage
>>> toJSONVia boolCodec True Bool True
API Note
This is a forward-compatible version of BoolCodec without a name.boolCodec = BoolCodec Nothing
booleanFieldDef :: FieldGrammar c g => FieldName -> ALens' s Bool -> Bool -> g s BoolCabal-syntax Distribution.FieldGrammar Boolean field with a default value.
booleanFieldDef :: FieldGrammar c g => FieldName -> ALens' s Bool -> Bool -> g s BoolCabal-syntax Distribution.FieldGrammar.Class Boolean field with a default value.
boolNatSing2 :: KnownBoolNat2 f a b => SBoolKb fghc-typelits-knownnat GHC.TypeLits.KnownNat No documentation available.
boolSing :: KnownBool b => SBool bghc-typelits-knownnat GHC.TypeLits.KnownNat No documentation available.
boolVal :: forall (b :: Bool) proxy . KnownBool b => proxy b -> Boolghc-typelits-knownnat GHC.TypeLits.KnownNat Get the Bool value associated with a type-level Bool Use boolVal if you want to perform the standard boolean operations on the reified type-level Bool. Use boolSing if you need a context in which the type-checker needs the type-level Bool to be either True or False
f :: forall proxy b r . KnownBool b => r f = case boolSing @b of SFalse -> -- context with b ~ False STrue -> -- context with b ~ True
-
singletons-base Data.Bool.Singletons No documentation available.
-
yesod-form Yesod.Form Creates a group of radio buttons to answer the question given in the message. Radio buttons are used to allow differentiating between an empty response (Nothing) and a no response (Just False). Consider using the simpler checkBoxField if you don't need to make this distinction. If this field is optional, the first radio button is labeled "<None>", the second "Yes" and the third "No". If this field is required, the first radio button is labeled "Yes" and the second "No". (Exact label titles will depend on localization).
-
yesod-form Yesod.Form.Fields Creates a group of radio buttons to answer the question given in the message. Radio buttons are used to allow differentiating between an empty response (Nothing) and a no response (Just False). Consider using the simpler checkBoxField if you don't need to make this distinction. If this field is optional, the first radio button is labeled "<None>", the second "Yes" and the third "No". If this field is required, the first radio button is labeled "Yes" and the second "No". (Exact label titles will depend on localization).
-
deriving-compat Data.Deriving.Internal No documentation available.