utop
utop copied to clipboard
feature request: suppress output
sometimes long output is undesired in an interactive session. it would be nice to have some syntax to suppress it on a per-evaluation basis. for example. ;;;
instead of ;;
at the end of the expression?
That seems reasonable to me
In the Clojure repl we started to think about this more in terms of ellipsis: when she output is too long you trim it. A repl command expands the next batch to see in the repl and returns it. You can also go back and see the previous batch. It is a better approach imho: an example of which is here.
so like an automatic less
for the output? sounds good. but it should be possible to quickly skip displaying further pages. often one already knows beforehand that the output is going to be long and irrelevant. in these cases one should not have to page through to the end.
Not like less, more like: I show you ten, then at the repl either you ask me the other ten or you evaluate the next meaningful command.