Hacker News new | ask | show | jobs
by ms013 2659 days ago
I use ocaml daily for work - our core product is written in it. We actively avoid anything that deviates from the base language for reasons of clarity. No camlp4, no lwt, no fanciness other than some of the batteries libraries that improve on the std library. It does occasionally mean we type in more than we would if, say, we used extensions to give us Haskell-like do notation for monadic code, but at the end of the day we err on the side of being very conservative.
1 comments

That's pretty much how we wrote the virt tools[1], basically we rely on the OCaml compiler, findlib, and not much else.

[1] https://github.com/libguestfs/libguestfs

Wow.

I had not seen your project before and this looks exactly like the right hammer for a problem I needed to hit a week or so go.