Sometimes, I accidentally make a mistake in interactive mode that causes
GNU APL to try to render a very large array to the screen. This can cause
the pretty-printer to essentially hang for very long amounts of time, and
this operation can't be interrupted. I usually have to kill the APL
session, losing the entire workspace.

Would it make sense to have a parameter that controls the largest value
that will be displayed in an interactive session. Too large arrays could be
displayed using for example the first few rows and some kind of symbol or
message indicating that the output has been truncated.

Something like "...remaining rows have been truncated (⍴ = 5837 23)" would
be neat.

This could have saved me numerous times.

Regards,
Elias

Reply via email to