3 ms·
The code looks like a shell script turned into OCaml. I'm curious whether you tried some libraries that attempt to provide a shell-like interface (cash, shcaml)
by edwintorok 13y ago
The code looks like a shell script turned into OCaml. I'm curious whether you tried some libraries that attempt to provide a shell-like interface (cash, shcaml) before deciding to just write it using the stdlib.
- rwmj 13y agoThat could be because it was a shell script originally :-) We're somewhat limited in terms of dependencies. We can add a dependency, but it needs to be available on all platforms we support (Fedora, Debian, Arch, SuSE, Gentoo, OS X would be the main ones). Of course this is an argument against OCaml, but so far we've been fine needing only a handful of libraries and liberally calling out to C.