http-monad-0.0.1: Monad abstraction for HTTP communication allowing lazy transfer and non-I/O simulation
Source code
Contents
Index
Network.Monad.Reader
Description
Provide the explicit class dictionary as context via a Reader monad.
Documentation
type
T
body m =
ReaderT
(
T
m body) m
Source
type
SyncExceptional
body m a =
ExceptionalT
ConnError
(
T
body m) a
Source
type
AsyncExceptional
body m a =
T
body m (
Exceptional
ConnError
a)
Source
readLine
::
Monad
m =>
AsyncExceptional
body m body
Source
readBlock
::
Monad
m =>
Int
->
AsyncExceptional
body m body
Source
writeBlock
::
Monad
m => body ->
SyncExceptional
body m
()
Source
Produced by
Haddock
version 2.6.0