Hoogle Search

Within LTS Haskell 24.69 (ghc-9.10.3)

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

  1. type MatchOffset = Int

    regex-posix Text.Regex.Posix.Sequence

    0 based index from start of source, or (-1) for unused

  2. unusedOffset :: Int

    regex-posix Text.Regex.Posix.Sequence

    No documentation available.

  3. type MatchOffset = Int

    regex-posix Text.Regex.Posix.String

    0 based index from start of source, or (-1) for unused

  4. unusedOffset :: Int

    regex-posix Text.Regex.Posix.String

    No documentation available.

  5. type RegOffset = Int64

    regex-posix Text.Regex.Posix.Wrap

    RegOffset is typedef int regoff_t on Linux and ultimately typedef long long __int64_t on Max OS X. So rather than saying 2,147,483,647 is all the length you need, I'll take the larger: 9,223,372,036,854,775,807 should be enough bytes for anyone, no need for Integer. The alternative is to compile to different sizes in a platform dependent manner with type RegOffset = (#type regoff_t), which I do not want to do. There is also a special value unusedRegOffset :: RegOffset which is (-1) and as a starting index means that the subgroup capture was unused. Otherwise the RegOffset indicates a character boundary that is before the character at that index offset, with the first character at index offset 0. So starting at 1 and ending at 2 means to take only the second character.

  6. type RegOffsetT = Int32

    regex-posix Text.Regex.Posix.Wrap

    No documentation available.

  7. unusedRegOffset :: RegOffset

    regex-posix Text.Regex.Posix.Wrap

    No documentation available.

  8. responseTimeout :: forall (scheme :: Scheme) . Int -> Option scheme

    req Network.HTTP.Req

    Specify the number of microseconds to wait for response. The default value is 30 seconds (defined in ManagerSettings of connection Manager).

  9. rqSetParam :: ByteString -> [ByteString] -> Request -> Request

    snap-core Snap.Core

    Writes a key-value pair to the parameters mapping within the given request. Example:

    ghci> :set -XOverloadedStrings
    ghci> import qualified Snap.Test as T
    ghci> import qualified Data.Map as M
    ghci> :{
    ghci| rq <- T.buildRequest $ do
    ghci|         T.postUrlEncoded "/foo/bar" $ M.fromList [("baz", ["qux"])]
    ghci|         T.setQueryStringRaw "baz=quux"
    ghci| :}
    ghci> rqParams rq
    fromList [("baz",["qux","quux"])]
    ghci> rqParams $ rqSetParam "baz" ["corge"] rq
    fromList [("baz", ["corge"])]
    

  10. rqSetParam :: ByteString -> [ByteString] -> Request -> Request

    snap-core Snap.Internal.Core

    Writes a key-value pair to the parameters mapping within the given request. Example:

    ghci> :set -XOverloadedStrings
    ghci> import qualified Snap.Test as T
    ghci> import qualified Data.Map as M
    ghci> :{
    ghci| rq <- T.buildRequest $ do
    ghci|         T.postUrlEncoded "/foo/bar" $ M.fromList [("baz", ["qux"])]
    ghci|         T.setQueryStringRaw "baz=quux"
    ghci| :}
    ghci> rqParams rq
    fromList [("baz",["qux","quux"])]
    ghci> rqParams $ rqSetParam "baz" ["corge"] rq
    fromList [("baz", ["corge"])]
    

Page 1269 of many | Previous | Next