Hoogle Search
Within LTS Haskell 24.46 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
infoTLS12Resumption :: Information -> Booltls Network.TLS No documentation available.
sessionResume :: SessionManager -> SessionIDorTicket -> IO (Maybe SessionData)tls Network.TLS Used on TLS 1.2/1.3 servers to lookup SessionData with SessionID or to decrypt Ticket to get SessionData.
sessionResumeOnlyOnce :: SessionManager -> SessionIDorTicket -> IO (Maybe SessionData)tls Network.TLS Used for 0RTT on TLS 1.3 servers to lookup SessionData with SessionID or to decrypt Ticket to get SessionData.
-
haskell-src-exts Language.Haskell.Exts.Extension No documentation available.
PUnboxedSum :: l -> Int -> Int -> Pat l -> Pat lhaskell-src-exts Language.Haskell.Exts.Syntax unboxed sum
TyUnboxedSum :: l -> [Type l] -> Type lhaskell-src-exts Language.Haskell.Exts.Syntax unboxed tuple type
UnboxedSum :: l -> Int -> Int -> Exp l -> Exp lhaskell-src-exts Language.Haskell.Exts.Syntax unboxed sum
throwIfConsumesMoreThan :: Int64 -> OutputStream ByteString -> IO (OutputStream ByteString)io-streams System.IO.Streams.ByteString Wraps an OutputStream, producing a new stream that will pass along at most n bytes to the wrapped stream. If more than n bytes are sent to the outer stream, a TooManyBytesWrittenException will be thrown. Note: if more than n bytes are sent to the outer stream, throwIfConsumesMoreThan will not necessarily send the first n bytes through to the wrapped stream before throwing the exception. Example:
ghci> (os :: OutputStream ByteString, getList) <- Streams.listOutputStream ghci> os' <- Streams.throwIfConsumesMoreThan 5 os ghci> Streams.fromList ["short"] >>= Streams.connectTo os' ghci> getList ["short"] ghci> os'' <- Streams.throwIfConsumesMoreThan 5 os ghci> Streams.fromList ["long", "string"] >>= Streams.connectTo os'' *** Exception: Too many bytes written
-
io-streams System.IO.Streams.Internal No documentation available.
fromConsumer :: Consumer r a -> IO (OutputStream r)io-streams System.IO.Streams.Internal No documentation available.