FAQ Database Discussion Community


How to correctly start a process from a specific directory with Lwt

ocaml,ocaml-lwt
It is easy to start a process from a specific directory with Lwt using the functions Sys.getpwd, Lwt_unix.chdir and Lwt_process.exec: Use Sys.getpwd to save the current working directory Use Lwt_unix.chdir to change to the specific directory Use Lwt_process.exec to start the external process Use Lwt_unix.chdir to change to the saved...

Are streams in ocaml really used?

stream,ocaml,ocaml-lwt
Looking at different ocaml projects, I don't see the built-in Streams in the language ever used. Even in the recent Real World Ocaml book, Streams are not mentioned at all, which is odd. What's the reason for that? Is it because Lwt or Core superseed them?...