https://stackoverflow.com/questions/1849245
题
Python 有 Python..OCaml有类似的东西吗?
我非常希望有命令历史记录,尽管其他功能也很好。我读过,我可以通过在 Emacs 中运行它来获取命令历史记录,但我不使用 Emacs..
解决方案
回卷 为您提供 readline 功能(历史记录、编辑命令等)。还, 查找库 添加了一些功能,请参阅 快速开始 举些例子。
其他提示
有 UTOP !它具有自动完成,是emacs的兼容等等。
使用与ledit ocaml ledit 。
ledit ocaml
您也可以使用在线顶层。