http-exchange-0.2.0.1: Perform HTTP Requests
Safe HaskellSafe-Inferred
LanguageGHC2021

OkChannel

Documentation

data M a Source #

Constructors

M (Chunks -> Bytes -> (Chunks, Bytes, a)) 

Instances

Instances details
Applicative M Source # 
Instance details

Defined in OkChannel

Methods

pure :: a -> M a #

(<*>) :: M (a -> b) -> M a -> M b #

liftA2 :: (a -> b -> c) -> M a -> M b -> M c #

(*>) :: M a -> M b -> M b #

(<*) :: M a -> M b -> M a #

Functor M Source # 
Instance details

Defined in OkChannel

Methods

fmap :: (a -> b) -> M a -> M b #

(<$) :: a -> M b -> M a #

Monad M Source # 
Instance details

Defined in OkChannel

Methods

(>>=) :: M a -> (a -> M b) -> M b #

(>>) :: M a -> M b -> M b #

return :: a -> M a #

data ReceiveException Source #

Constructors

ExpectedMoreInput 

Instances

Instances details
Show ReceiveException Source # 
Instance details

Defined in OkChannel

type Resource = () Source #