Question

Python has IPython.. does OCaml have anything similar?

I'd very much like to have command history, although other features would be nice too. I've read that I could get command history by running it in Emacs, but I don't use Emacs..

Was it helpful?

Solution

rlwrap gives you readline features (history, editing commands, etc). Also, Findlib adds some functionality, see the quickstart for examples.

OTHER TIPS

There's utop! It has autocompletion, is emacs compatible and so on.

Use ledit ocaml with ledit.

You can also use the online toplevel.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top