foretspaisibles / ocaml-rashell

Resilient replicant Shell Programming Library
MIT License
38 stars 2 forks source link

Do not depend on Lwt #1

Open foretspaisibles opened 8 years ago

foretspaisibles commented 8 years ago

The Lwt library is a hug dependence of Rashell. It would be great to write Rashell so that it does not depend on Lwt but uses instead a smaller library also implementing a Success monad.

We would need to write a monad M for computations consuming one (or more) subprocesses and a module S for streams consuming one subprocess, the monad M would be a replacement for Lwt and S for Lwt_stream.

agarwal commented 8 years ago

FYI, we've implemented the two things you suggest in future.

foretspaisibles commented 8 years ago

Thanks for pointing out that @agarwal this looks like a promising starting point.