4 ms·
I believe OCaml would be a horrible choice as a replacement for bash
by ryanmccullagh 9y ago
I believe OCaml would be a horrible choice as a replacement for bash
- Mathnerd314 9y agoHaskell has several shell-scripting libraries: https://hackage.haskell.org/package/turtle https://hackage.haskell.org/package/turtle https://hackage.haskell.org/package/shelly https://hackage.haskell.org/package/shelly http://chrisdone.com/posts/shell-conduit http://chrisdone.com/posts/shell-conduit ocaml isn't that far off, just even less popular...
- emj 9y agoThey do not seems to warrant further investigation, the examples you find about these implementations are overly simplified bordering useless. If you are going that way you might as well go with something like PowerShell, and that's a horrible scriping language.
- ujal 9y agoFunny how ShellCheck mentioned above is written in Haskell :)
- mseri 9y agoYou might want to have a look at [bos] [bos]: http://erratique.ch/software/bos http://erratique.ch/software/bos