bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] Preventing display of too large arrays


From: Elias Mårtenson
Subject: [Bug-apl] Preventing display of too large arrays
Date: Wed, 30 Apr 2014 22:35:05 +0800

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

[Prev in Thread] Current Thread [Next in Thread]