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

有帮助吗?

解决方案

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

其他提示

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

Use ledit ocaml with ledit.

You can also use the online toplevel.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top