Hoogle Search

Within LTS Haskell 24.64 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. (.=) :: (KeyValue e kv, ToJSON v) => Key -> v -> kv

    yaml Data.Yaml

    No documentation available.

  2. (.=) :: ToYaml a => Text -> a -> (Text, YamlBuilder)

    yaml Data.Yaml.Builder

    No documentation available.

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

    yaml Data.Yaml.Parser

    No documentation available.

  4. (.!=) :: Parser (Maybe a) -> a -> Parser a

    yaml Data.Yaml.TH

    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"
    

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

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

  7. (.=) :: (KeyValue e kv, ToJSON v) => Key -> v -> kv

    yaml Data.Yaml.TH

    No documentation available.

  8. type family (l1 :: [Type]) .++ (l2 :: [Type]) :: [Type]

    servant-server Servant.Server

    Append two type-level lists. Import it as

    import Servant.API.TypeLevel.List (type (.++))
    

  9. (.++) :: forall (l1 :: [Type]) (l2 :: [Type]) . Context l1 -> Context l2 -> Context (l1 .++ l2)

    servant-server Servant.Server

    Append two contexts.

  10. (.++) :: forall (l1 :: [Type]) (l2 :: [Type]) . Context l1 -> Context l2 -> Context (l1 .++ l2)

    servant-server Servant.Server.Internal.Context

    Append two contexts.

Page 11 of many | Previous | Next