Вопрос

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