Not to mention that it's long been a principle in the APL world that any
behavior giving an error can safely be given non-error behavior, though
this looks more like it's simply a bug in 8.05 that got fixed.
On Sat, Oct 22, 2022 at 12:40 PM 'robert therriault' via General <
gene...@jsoftware.com>
The original example was
(>1 0 1; 1 1 0; 0 1 1 ) #"_ 1 > 1 2 3;4 5 6
I think that Raul was using ; in place of # for illustrative purposes.
(>1 0 1; 1 1 0; 0 1 1 ) ;"_ 1 > 1 2 3;4 5 6 NB. J805
┌─┬─┐
│1 0 1│1 2 3│
│1 1 0│ │
│0 1 1│ │
├─┼─┤
│1 0 1│4 5 6│
│1 1 0│ │
│
It might be this:
https://code.jsoftware.com/wiki/System/Interpreter/Bugs/Fixed#Buggy_Copy_with_ranks.2C_.23.222_2
One of the 100 bugs fixed since 8.05.
Henry Rich
On 10/22/2022 12:06 PM, June Kim (김창준) wrote:
(>1 0 1; 1 1 0; 0 1 1 ) #"_ 1 > 1 2 3;4 5 6
--
Right -- that expression was for inspecting the arguments.
June Kim was getting a length error with # rather than ;
I had not intended to distract away from that issue.
Thanks
--
Raul
On Sat, Oct 22, 2022 at 12:31 PM Henry Rich wrote:
>
> I get
>
> (>1 0 1; 1 1 0; 0 1 1 ) ;"_ 1 > 1 2 3;4
I get
(>1 0 1; 1 1 0; 0 1 1 ) ;"_ 1 > 1 2 3;4 5 6
+-+-+
|1 0 1|1 2 3|
|1 1 0| |
|0 1 1| |
+-+-+
|1 0 1|4 5 6|
|1 1 0| |
|0 1 1| |
+-+-+
Henry Rich
On 10/22/2022 12:17 PM, Raul Miller wrote:
When I inspect the arguments being applied here
(>1 0 1
J701
(>1 0 1; 1 1 0; 0 1 1 ) ;"_ 1 > 1 2 3;4 5 6
+-+-+
|1 0 1|1 2 3|
|1 1 0| |
|0 1 1| |
+-+-+
|1 0 1|4 5 6|
|1 1 0| |
|0 1 1| |
+-+-+
J903
(>1 0 1; 1 1 0; 0 1 1 ) ;"_ 1 > 1 2 3;4 5 6
+-+-+
|1 0 1|1 2 3|
|1 1 0| |
|0 1 1|
When I inspect the arguments being applied here
(>1 0 1; 1 1 0; 0 1 1 ) ;"_ 1 > 1 2 3;4 5 6
I see no reason for a length error.
--
Raul
On Sat, Oct 22, 2022 at 12:07 PM June Kim (김창준) wrote:
>
> Hello
>
> I have been sticking with J805 for years. Today, I experimentally tried
> J903 and fo
Hello
I have been sticking with J805 for years. Today, I experimentally tried
J903 and found a significant difference.
j805:
(>1 0 1; 1 1 0; 0 1 1 ) #"_ 1 > 1 2 3;4 5 6
|length error
| (>1 0 1;1 1 0;0 1 1) #"_ 1>1 2 3;4 5 6
j903:
(>1 0 1; 1 1 0; 0 1 1 ) #"_ 1 > 1 2 3;4 5 6
1 3
1 2
2 3
4