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.

  1. (.:?) :: 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.

  2. (|:) :: [a] -> a -> NonEmpty a

    extra Data.List.NonEmpty.Extra

    O(n). Append an element to a list.

    [1,2,3] |: 4 |> 5 == 1 :| [2,3,4,5]
    

  3. (|:) :: [a] -> a -> NonEmpty a

    extra Extra

    O(n). Append an element to a list.

    [1,2,3] |: 4 |> 5 == 1 :| [2,3,4,5]
    

  4. (?:) :: Bool -> (a, a) -> a

    utility-ht Data.Bool.HT

    Like the ? operator of the C progamming language.

    >>> True ?: ("yes", "no")
    "yes"
    
    >>> False ?: ("yes", "no")
    "no"
    

  5. (.:) :: FromJSON a => Object -> Key -> Parser a

    yaml 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.

  6. (.:?) :: 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.

  7. (.:) :: FromYaml a => [(Text, YamlValue)] -> Text -> YamlParser a

    yaml Data.Yaml.Parser

    No documentation available.

  8. (.:) :: FromJSON a => Object -> Key -> Parser a

    yaml 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.

  9. (.:?) :: 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.

  10. (/:) :: MediaType -> (ByteString, ByteString) -> MediaType

    http-media Network.HTTP.Media

    Adds a parameter to a MediaType. Can produce an error if either string is invalid.

Page 76 of many | Previous | Next