Hoogle Search
Within LTS Haskell 24.32 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
(
.:? ) :: FromJSON a => Object -> Key -> Parser (Maybe a)gogol-core Gogol.Data.JSON 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.
(
|: ) :: [a] -> a -> NonEmpty aextra Data.List.NonEmpty.Extra O(n). Append an element to a list.
[1,2,3] |: 4 |> 5 == 1 :| [2,3,4,5]
(
|: ) :: [a] -> a -> NonEmpty aextra Extra O(n). Append an element to a list.
[1,2,3] |: 4 |> 5 == 1 :| [2,3,4,5]
-
utility-ht Data.Bool.HT Like the ? operator of the C progamming language.
>>> True ?: ("yes", "no") "yes" >>> False ?: ("yes", "no") "no" (
.: ) :: FromJSON a => Object -> Key -> Parser ayaml Data.Yaml 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)yaml Data.Yaml 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.
(
.: ) :: FromYaml a => [(Text, YamlValue)] -> Text -> YamlParser ayaml Data.Yaml.Parser No documentation available.
(
.: ) :: FromJSON a => Object -> Key -> Parser ayaml Data.Yaml.TH 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)yaml Data.Yaml.TH 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.
(
/: ) :: MediaType -> (ByteString, ByteString) -> MediaTypehttp-media Network.HTTP.Media Adds a parameter to a MediaType. Can produce an error if either string is invalid.