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.
-
regex-posix Text.Regex.Posix.Sequence 0 based index from start of source, or (-1) for unused
-
regex-posix Text.Regex.Posix.Sequence No documentation available.
-
regex-posix Text.Regex.Posix.String 0 based index from start of source, or (-1) for unused
-
regex-posix Text.Regex.Posix.String No documentation available.
-
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.
-
regex-posix Text.Regex.Posix.Wrap No documentation available.
-
regex-posix Text.Regex.Posix.Wrap No documentation available.
responseTimeout :: forall (scheme :: Scheme) . Int -> Option schemereq Network.HTTP.Req Specify the number of microseconds to wait for response. The default value is 30 seconds (defined in ManagerSettings of connection Manager).
rqSetParam :: ByteString -> [ByteString] -> Request -> Requestsnap-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"])]
rqSetParam :: ByteString -> [ByteString] -> Request -> Requestsnap-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"])]