Re:OCaml Resources (2006)
by locokoko on Sunday May 31, 2015 @09:30AM
(#9634094)
I recently looked at OCaml and quite liked it, but I was wondering if there is any SLIME/Geiser (these are the lisp and scheme IDEs for emacs) equivalent for it?
I know there is tuareg-mode, but as far as I can tell it is not nearly as convenient as SLIME.
Any ideas?
[ Parent
| on HN ]
I don't know what you are looking for when you compare things to SLIME but I was quite satisfied with the setup they suggest in realworldocaml:
https://github.com/realworldocaml/book/wiki/Installation-Ins...
* OPAM for package management * Utop for a REPL * merlin for autocomplete and type queries * ocp-indent for aotomatic indentation
https://github.com/OCamlPro/opam-user-setup tries to make the setup even easier
I struggled to get an interactive environment for OCaml that was similar to SLIME/Cider. I recorded a video showing what I had pieced together to get a kind of repl-like env [0] and posted it to twitter, hoping people would tell me how silly that was and there was already an existing system. Turns out it's not a very high priority, the OCaml community seems to work in a different way, but I've never been able to work in person with someone to see how they do it.
That say, the type helps from Tuareg/merlin and a few other things really started to become very handy, and I miss them in ClojureScript now.
[0] "Early OCaml workflow pains" - https://www.youtube.com/watch?v=rDFocxR6Mpw