Small suite of utilities for Lwt. BSD license.
not released yet
Depends on lwt and containers.
Use opam, for instance:
opam pin add -k git containers-lwt https://github.com/c-cube/containers-lwt.git
and
opam install containers-lwt
The library contains a pack module Containers_lwt
, with the following modules:
Lwt_klist
: a lazy list of values compatible withLwt
. ResemblesLwt_stream
but with memoization, as a pure value.Lwt_pipe
: a (bounded or unbounded) pipe between consumer(s) and producer(s) with a focus on safety and efficiency. The point is that pushing and poping can block, thus limiting the resource consumption if producers are faster than consumers.
Less stable/usable:
Lwt_actor
: experimental simplistic actor library on top ofLwt
Lwt_automaton
: experimental automatons on top ofLwt