Hoogle Search

Within LTS Haskell 24.51 (ghc-9.10.3)

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

  1. XHsForAllTelescope :: !XXHsForAllTelescope pass -> HsForAllTelescope pass

    ghc Language.Haskell.Syntax.Type

    No documentation available.

  2. hst_xforall :: HsType pass -> XForAllTy pass

    ghc Language.Haskell.Syntax.Type

    No documentation available.

  3. normalizeAllSeps :: PosixPath -> PosixPath

    path OsPath.Internal.Posix

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

  4. normalizeAllSeps :: WindowsPath -> WindowsPath

    path OsPath.Internal.Windows

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

  5. 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"]
    

  6. 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]
    

  7. 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"]
    

  8. 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]
    

  9. module Data.Constraint.Forall

    This module uses a trick to provide quantification over constraints.

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

    constraints Data.Constraint.Forall

    No documentation available.

Page 330 of many | Previous | Next