Hoogle Search

Within LTS Haskell 24.38 (ghc-9.10.3)

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

  1. assertEqual :: (HasCallStack, Eq a, Show a) => String -> a -> a -> Assertion

    HUnit Test.HUnit.Lang

    Asserts that the specified actual value is equal to the expected value. The output message will contain the prefix, the expected value, and the actual value. If the prefix is the empty string (i.e., ""), then the prefix is omitted and only the expected and actual values are output.

  2. type PartialEscapeQuery = [PartialEscapeQueryItem]

    http-types Network.HTTP.Types

    Query with some characters that should not be escaped. General form: a=b&c=d:e+f&g=h

  3. type PartialEscapeQueryItem = (ByteString, [EscapeItem])

    http-types Network.HTTP.Types

    Partially escaped query item. The key will always be encoded using 'urlEncode True', but the value will be encoded depending on which EscapeItems are used.

  4. type RequestHeaders = [Header]

    http-types Network.HTTP.Types

    A list of Headers. Same type as ResponseHeaders, but useful to differentiate in type signatures.

  5. type SimpleQuery = [SimpleQueryItem]

    http-types Network.HTTP.Types

    A sequence of SimpleQueryItems.

  6. type SimpleQueryItem = (ByteString, ByteString)

    http-types Network.HTTP.Types

    Simplified query item type without support for parameter-less items.

  7. badRequest400 :: Status

    http-types Network.HTTP.Types

    Bad Request 400

  8. lengthRequired411 :: Status

    http-types Network.HTTP.Types

    Length Required 411

  9. networkAuthenticationRequired511 :: Status

    http-types Network.HTTP.Types

    Network Authentication Required 511 (RFC 6585)

  10. parseQuery :: ByteString -> Query

    http-types Network.HTTP.Types

    Split out the query string into a list of keys and values. A few importants points:

    • The result returned is still bytestrings, since we perform no character decoding here. Most likely, you will want to use UTF-8 decoding, but this is left to the user of the library.
    • Percent decoding errors are ignored. In particular, "%Q" will be output as "%Q".
    • It decodes '+' characters to ' '

Page 144 of many | Previous | Next