Type alias Optical<M, S, T, A, B>
Optical<M, in
S, out
T, out
A, in
B>: (<R>(next) => ((received) => ContT<R, M, T>)) Type declaration
- <R>(next): ((received) => ContT<R, M, T>)
Parameters
next: ((sending) => ContT<R, M, B>)
Returns ((received) => ContT<R, M, T>)
Generic computation combinator with two-terminal pair.