Hoogle Search

Within LTS Haskell 24.67 (ghc-9.10.3)

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

  1. normalizeAllSeps :: WindowsPath -> WindowsPath

    path OsPath.Internal.Windows

    Replaces consecutive path seps with single sep and replaces alt sep with standard sep.

  2. lookupAll :: Text -> Form -> [Text]

    http-api-data Web.FormUrlEncoded

    Find all values corresponding to a given key in a Form.

    >>> lookupAll "name" []
    []
    
    >>> lookupAll "name" [("name", "Oleg")]
    ["Oleg"]
    
    >>> lookupAll "name" [("name", "Oleg"), ("name", "David")]
    ["Oleg","David"]
    

  3. parseAll :: FromHttpApiData v => Text -> Form -> Either Text [v]

    http-api-data Web.FormUrlEncoded

    Lookup all values for a given key in a Form and parse them with parseQueryParams.

    >>> parseAll "age" [] :: Either Text [Word8]
    Right []
    
    >>> parseAll "age" [("age", "8"), ("age", "seven")] :: Either Text [Word8]
    Left "could not parse: `seven' (input does not start with a digit)"
    
    >>> parseAll "age" [("age", "8"), ("age", "777")] :: Either Text [Word8]
    Left "out of bounds: `777' (should be between 0 and 255)"
    
    >>> parseAll "age" [("age", "12"), ("age", "25")] :: Either Text [Word8]
    Right [12,25]
    

  4. lookupAll :: Text -> Form -> [Text]

    http-api-data Web.Internal.FormUrlEncoded

    Find all values corresponding to a given key in a Form.

    >>> lookupAll "name" []
    []
    
    >>> lookupAll "name" [("name", "Oleg")]
    ["Oleg"]
    
    >>> lookupAll "name" [("name", "Oleg"), ("name", "David")]
    ["Oleg","David"]
    

  5. parseAll :: FromHttpApiData v => Text -> Form -> Either Text [v]

    http-api-data Web.Internal.FormUrlEncoded

    Lookup all values for a given key in a Form and parse them with parseQueryParams.

    >>> parseAll "age" [] :: Either Text [Word8]
    Right []
    
    >>> parseAll "age" [("age", "8"), ("age", "seven")] :: Either Text [Word8]
    Left "could not parse: `seven' (input does not start with a digit)"
    
    >>> parseAll "age" [("age", "8"), ("age", "777")] :: Either Text [Word8]
    Left "out of bounds: `777' (should be between 0 and 255)"
    
    >>> parseAll "age" [("age", "12"), ("age", "25")] :: Either Text [Word8]
    Right [12,25]
    

  6. module Data.Constraint.Forall

    This module uses a trick to provide quantification over constraints.

  7. type Forall1 (p :: k -> Constraint) = Forall p

    constraints Data.Constraint.Forall

    No documentation available.

  8. class Forall ComposeC p f => ForallF (p :: k2 -> Constraint) (f :: k1 -> k2)

    constraints Data.Constraint.Forall

    A representation of the quantified constraint forall a. p (f a).

  9. class Forall Q p t => ForallT (p :: k4 -> Constraint) (t :: k1 -> k2 -> k3 -> k4)

    constraints Data.Constraint.Forall

    A representation of the quantified constraint forall f a. p (t f a).

  10. type family ForallV :: k -> Constraint

    constraints Data.Constraint.Forall

    A representation of the quantified constraint forall a1 a2 ... an . p a1 a2 ... an, supporting a variable number of parameters.

Page 330 of many | Previous | Next