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.
rqSetParam :: ByteString -> [ByteString] -> Request -> Requestsnap-core Snap.Internal.Http.Types 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"])]
parseToCompletion :: Parser a -> ByteString -> Maybe asnap-core Snap.Internal.Parsing No documentation available.
responseToString :: Response -> IO ByteStringsnap-core Snap.Test Converts the given Response to a bytestring. Example:
ghci> import Snap.Core ghci> responseToString emptyResponse "HTTP/1.1 200 OK\r\n\r\n"
-
snap-core Snap.Util.CORS A set of origins. RFC 6454 specifies that origins are a scheme, host and port, so the OriginSet wrapper around a HashSet ensures that each URI constists of nothing more than this.
mkOriginSet :: [URI] -> OriginSetsnap-core Snap.Util.CORS No documentation available.
-
uniplate Data.Generics.Uniplate.Data.Instances Invariant preserving version of IntSet from the containers packages, suitable for use with Uniplate. Use toIntSet to construct values, and fromIntSet to deconstruct values.
fromIntSet :: IntSet -> IntSetuniplate Data.Generics.Uniplate.Data.Instances Deconstruct a value of type IntSet.
-
uniplate Data.Generics.Uniplate.Data.Instances Deconstruct a value of type Set.
-
uniplate Data.Generics.Uniplate.Data.Instances Construct a value of type IntSet.
toSet :: Ord k => Set k -> Set kuniplate Data.Generics.Uniplate.Data.Instances Construct a value of type Set.