Hoogle Search
Within LTS Haskell 24.20 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
(
.=? ) :: ToJSON v => Key -> Maybe v -> [Pair]github GitHub.Data.Content No documentation available.
(
.!= ) :: Parser (Maybe a) -> a -> Parser agithub GitHub.Internal.Prelude Helper for use in combination with .:? to provide default values for optional JSON object fields. This combinator is most useful if the key and value can be absent from an object without affecting its validity and we know a default value to assign in that case. If the key and value are mandatory, use .: instead. Example usage:
v1 <- o .:? "opt_field_with_dfl" .!= "default_val" v2 <- o .: "mandatory_field" v3 <- o .:? "opt_field2"
(
.: ) :: FromJSON a => Object -> Key -> Parser agithub GitHub.Internal.Prelude Retrieve the value associated with the given key of an Object. The result is empty if the key is not present or the value cannot be converted to the desired type. This accessor is appropriate if the key and value must be present in an object for it to be valid. If the key and value are optional, use .:? instead.
(
.:? ) :: FromJSON a => Object -> Key -> Parser (Maybe a)github GitHub.Internal.Prelude Retrieve the value associated with the given key of an Object. The result is Nothing if the key is not present or if its value is Null, or empty if the value cannot be converted to the desired type. This accessor is most useful if the key and value can be absent from an object without affecting its validity. If the key and value are mandatory, use .: instead.
(
.= ) :: (KeyValue e kv, ToJSON v) => Key -> v -> kvgithub GitHub.Internal.Prelude No documentation available.
(
.: ) :: FromJSON a => Value -> Text -> agithub-rest GitHub.REST Get the given key from the Value, erroring if it doesn't exist.
(
.= ) :: (KeyValue e kv, ToJSON v) => Key -> v -> kvgraphql-client Data.GraphQL.Bootstrap No documentation available.
(
.: ) :: FromGraphSON a => KeyMap GValue -> Key -> Parser agreskell Data.Greskell Like Aeson's .:, but for FromGraphSON.
(
.# ) :: (Function f a r, SimpleMergeable r, UnionView u) => f -> u a -> rgrisette Grisette.Core Helper for applying functions on UnionView and SimpleMergeable.
>>> let f :: Integer -> Union Integer = \x -> mrgIf (ssym "a") (mrgSingle $ x + 1) (mrgSingle $ x + 2) >>> f .# (mrgIf (ssym "b" :: SymBool) (mrgSingle 0) (mrgSingle 2) :: Union Integer) {If (&& b a) 1 (If b 2 (If a 3 4))}(
.&& ) :: LogicalOp b => b -> b -> bgrisette Grisette.Core Symbolic conjunction