ocaml - What toplevel directives does utop support? -


I can use in utop, which can not get any documents about the upper guidelines. I can get all the instructions supported by the default Okon Toplevel, but this list does not seem to be fully suitable for the utop and there is a shortage of things like #typeof , which works in the utop.

I think this is the only one, which is not a document. Other people start with #utop or are documented by #utop_help . ( utop_prompt _ * instructions should be self-explanatory)

You can list all the registered instructions in this way:

  Hashbub . - & gt; Print_endline k) Toploop.directive_table  

Third-party library macros can add, remove, or change.


Comments