... and citing from a post by Robert Bernecky (dated 1992-01-28)
https://groups.google.com/forum/#!msg/alt.folklore.computers/SFev2gkcZR4/_QF7zvbX5_AJ

'What is a NONCE error?'
"...
Within the APL community, we strove for decision by Quaker consent:
If we couldn't agree on how to do something, we would defer a design
decision, for the NONCE, by doing nothing.

For example, we might have implemented complex math in SHARP APL, but
were having second thoughts on the definition of the floor of a complex
number. (This didn't happen, by the way -- merely an example)

So, we would implement the parts we DID agree on. In the above case
you'd be able to enter, add, subtract, and otherwise manipulate
complex numbers, but an attempt to take the floor of one would
result in: NONCE ERROR with a caret pointing to the offending primitive.

The floor of a real would work, of course, as advertised.

The intent of signalling NONCE ERROR instead of DOMAIN ERROR was
to make it clear to the user that we:

a. Were planning to do something here, but hadn't decided what it was yet.
OR
b. Were doing something here, but it wasn't released yet. Sort of an "under construction" sign.
..."

-M

At 2017-12-23 13:35, you wrote:

Hi all,
Why can't I box sparse arrays?  I was exploring sparse arrays after it came
up on the mailing list and was surprised to get a nonce error when I tried
to box a sparse error.  Using the example given on the dictionary entry for
$. to demonstrate the issue:

   ] d=: (?. 3 4$2) * ?. 3 4$100
 0 56  0  6
85  0  0 96
 0  0 33  0
   ] s=: $. d
0 1 │ 56
0 3 │  6
1 0 │ 85
1 3 │ 96
2 2 │ 33
   s ; d
|nonce error
|   s    ;d
   <s
|nonce error
|       <s
   <d
┌───────────┐
│ 0 56  0  6│
│85  0  0 96│
│ 0  0 33  0│
└───────────┘

I could not find any mention of this nonce error in the dictionary.  Please
let me know if I have overlooked something obvious.  And I am curious how
Roger Stokes managed to box sparse arrays in his LJ book.

Thanks,
Vijay.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to