3 ms·
For OCaml, check out http://ocaml.org http://ocaml.org for examples and tutorials. There's also http://try.ocamlpro.org http://try.ocamlpro.org where you can ac
by amirmc 14y ago
For OCaml, check out http://ocaml.org http://ocaml.org for examples and tutorials. There's also http://try.ocamlpro.org http://try.ocamlpro.org where you can actually try some things out without the hassle of installing. OPAM [1] is new package manager for OCaml which, makes dealing with the libraries a lot easier (gotten v popular quite quickly) - it's available via homebrew which made it v convenient for me.
Also, it's worth being aware of the differences between the languages e.g. Haskell is purely functional whereas OCaml allows imperative and OO.
I'm learning OCaml (slowly), and may have a look at Haskell later on. People I'm working with view OCaml as a much more pragmatic language than Haskell, in terms of building real world systems (e.g. Mirage [2]). However, people make cool things in Haskell too, e.g. pandoc [3]
[1] http://opam.ocamlpro.com http://opam.ocamlpro.com
[2] http://openmirage.org http://openmirage.org
[3] http://johnmacfarlane.net/pandoc/ http://johnmacfarlane.net/pandoc/
- tikhonj 14y agoHaskell has HalVM[1], which is sort of like Mirage, I believe. [1]: http://corp.galois.com/halvm http://corp.galois.com/halvm As far as pragmatism and practicality in general, I think the two languages are about equal.
- mercurial 14y agoI found the idea awesome, though I didn't try it in practice. However, the repo doesn't seem terribly active.