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. type SimpleQuery = [SimpleQueryItem]

    http-types Network.HTTP.Types.URI

    A sequence of SimpleQueryItems.

  2. type SimpleQueryItem = (ByteString, ByteString)

    http-types Network.HTTP.Types.URI

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

  3. parseQuery :: ByteString -> Query

    http-types Network.HTTP.Types.URI

    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 ' '

  4. parseQueryReplacePlus :: Bool -> ByteString -> Query

    http-types Network.HTTP.Types.URI

    Same functionality as parseQuery, but with the option to decode '+' characters to ' ' or to preserve any '+' encountered. If you want to replace any '+' with a space, use True.

  5. parseQueryText :: ByteString -> QueryText

    http-types Network.HTTP.Types.URI

    Parse a QueryText from a ByteString. See parseQuery for details.

    queryToQueryText . parseQuery
    

  6. parseSimpleQuery :: ByteString -> SimpleQuery

    http-types Network.HTTP.Types.URI

    Parse SimpleQuery from a ByteString. This uses parseQuery under the hood, and will transform any Nothing values into an empty ByteString.

  7. renderSimpleQuery :: Bool -> SimpleQuery -> ByteString

    http-types Network.HTTP.Types.URI

    Render the given SimpleQuery into a ByteString. If you want a question mark (?) added to the front of the result, use True.

  8. simpleQueryToQuery :: SimpleQuery -> Query

    http-types Network.HTTP.Types.URI

    Convert SimpleQuery to Query.

  9. seq# :: a -> State# d -> (# State# d, a #)

    ghc-prim GHC.Prim

    No documentation available.

  10. module GHC.Prim.PtrEq

    Comparing underlying pointers for equality. Use GHC.Exts from the base package instead of importing this module directly.

Page 148 of many | Previous | Next