tags:

views:

140

answers:

2

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..

+11  A: 

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

Mikael S
In addition, the following link covers similar topics including findlib support as well as using rlwrap in the ocaml toplevel, http://www.cocan.org/tips_for_using_the_ocaml_toplevel
nlucaroni
This is what I do.
Thelema
+2  A: 

Use ledit ocaml with ledit.

Jon Harrop