## OCaml interpreter - Adding history support

I need to learn ocaml for one of my computer science courses. Although I am more the procedural programmer type, I like some of the concepts of functional languages and am also using them on a daily basis.

Some of the concepts are quite handy and nice - list comprehension, filter and lambda functions. They can help you keep your code clean and state-less.

Although I like Haskell a lot, i dislike ocaml for several reasons. One of them is that the interpreter doesn’t support curses-like history. Unless you use the very nice rlwrap tool (in Linux)

rlwrap ocaml


And finally you can scroll back up to your wrongly typed command.