Saving input history from utop to file

In OCaml toplevel utop, can I save user input history to a file during a session?

+4
source share
1 answer

Your input is saved by default in ~ / .utop-history. Isn't that enough for your purpose?

You can also change the location and file size by manipulating UTop.history_file_name and other variables.

+3
source

Source: https://habr.com/ru/post/1523974/


All Articles