ocaml / oloop

Evaluate code through the OCaml toploop for inclusion in educational material.
ISC License
12 stars 5 forks source link

optionally silence output of directives #3

Closed agarwal closed 9 years ago

agarwal commented 9 years ago

You often don't want to see the output of #require and other directives. Add an option to the command line app that will omit this output.

Chris00 commented 9 years ago

The infrastructure is in place (just ignore the output of the command). You must send #require commands separately anyway since eval will not read past ;;.

Chris00 commented 9 years ago

This is turned on or off when the toploop is created. It is definitely possible to switch between the two modes in the live toploop (enriching the commands one can send to the toploop). Is is desired?

agarwal commented 9 years ago

At this point, I think the current option should be sufficient.