Maybe it is not the best default choice for form of display in errors?
The user can be blamed once she changes the form of display;
the default form shouldn’t be misleading but very explicit imo.
Am 10.12.21 um 17:15 schrieb Henry Rich:
Now that I look into it, the error display of } }: as }}: is correct,
because the error display removes all unnecessary blanks and }}: is two
words.
A display that fools RE, Raul, and me has got to be considered
misleading, but I don't see what to do about it except be ready for next
time.
Henry Rich
On 12/10/2021 10:59 AM, Raul Miller wrote:
I was confused for a moment when you said "The linear display of ({:}
}:) is wrong."
But then I saw that you meant the linear display of ({:} }) in the
error message for ({:} })t
It can also be instructive to try that expression:
9!:3(5)
({:}}:)
{:} }:
In other words, in the current version of J, at least, when there's no
opening {{ a }} pair is not treated as a delimiter.
That's arguably for the best. (Though for old J hands, it also
suggests that smiley/frowny delimiters -- in other words (: ): --
might have been more comfortable for us.)
Thanks,
--
----------------------
mail written using NEO
neo-layout.org
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm