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.
-
rec-def Data.Recursive.Bool Like Bool, but admits recursive definitions, preferring the least solution.
module Data.Recursive.
DualBool The type RDualBool is like Bool, but allows recursive definitions:
>>> :{ let x = RDB.true y = x RDB.&& z z = y RDB.|| RDB.false in RDB.get x :} TrueThis finds the greatest solution, i.e. prefers True over False:>>> :{ let x = x RDB.&& y y = y RDB.&& x in (RDB.get x, RDB.get y) :} (True,True)Use RBool from Data.Recursive.Bool if you want the least solution.-
rec-def Data.Recursive.DualBool Like Bool, but admits recursive definitions, preferring the greatest solution.
-
rec-def Data.Recursive.Internal Like Bool, but admits recursive definitions, preferring the least solution.
-
rec-def Data.Recursive.Internal No documentation available.
-
rec-def Data.Recursive.Internal Like Bool, but admits recursive definitions, preferring the greatest solution.
RDualBool :: Purify P2 -> RDualBoolrec-def Data.Recursive.Internal No documentation available.
withBool :: String -> (Bool -> Parser a) -> Value -> Parser asafe-json Data.Aeson.Safe 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"
containWithBool :: String -> (Bool -> Parser a) -> Value -> Contained (Parser a)safe-json Data.SafeJSON Similar to withBool, but contained to be used in safeFrom definitions
isElmListOfMaybeBoolType :: EType -> Boolservant-elm Servant.Elm.Internal.Generate No documentation available.