Re: [Bug-apl] The Dyalog ⌸ operator

2016-04-26 Thread Christian Robert
That is probably what I was missing for a very long time. Xtian. On 2016-04-27 01:00, Elias Mårtenson wrote: The Dyalog language reference guide contains all the Dyalog stuff: http://docs.dyalog.com/14.1/Dyalog%20APL%20Language%20Reference.pdf In particular, ⍤ is described on page 146, and ⌸

Re: [Bug-apl] The Dyalog ⌸ operator

2016-04-26 Thread Alexey Veretennikov
Hi, If you are talking about Dyalog, you can take a look for example here: http://help.dyalog.com/14.1/Content/Language/Introduction/Language%20Elements.htm Christian Robert writes: > where are you taking the definition of various functions like ? > > power operator ? > > dieresis jot ? like:

Re: [Bug-apl] The Dyalog ⌸ operator

2016-04-26 Thread Elias Mårtenson
The Dyalog language reference guide contains all the Dyalog stuff: http://docs.dyalog.com/14.1/Dyalog%20APL%20Language%20Reference.pdf In particular, ⍤ is described on page 146, and ⌸ on page 139. The formal ISO APL specification can be downloaded here: http://www.math.uwaterloo.ca/~ljdickey/apl-

Re: [Bug-apl] The Dyalog ⌸ operator

2016-04-26 Thread Christian Robert
where are you taking the definition of various functions like ? power operator ? dieresis jot ? like: (⊂⍤1) z,⍪z (I really don't know what it is doing) I see no references anywhere on the web. None in apl2 manual, none in Dyalog manual. how can I learn thoses ... without a manual and/or som

Re: [Bug-apl] The Dyalog ⌸ operator

2016-04-26 Thread Kacper Gutowski
On Wed, Apr 27, 2016 at 5:02 AM, Elias Mårtenson wrote: > So, I wanted to simply take a string of characters, and create a list of > each character and the number of occurrences of each character in that > string. Indeed it could be written in Dyalog very succinctly as ⊣,∘≢⌸ but I would write it p

[Bug-apl] The Dyalog ⌸ operator

2016-04-26 Thread Elias Mårtenson
I was reading about the Dyalog "key" operator ⌸. It's certainly a useful function, and something that should probably be added to GNU APL, in my opinion. As always when thinking about useful additions to GNU APL, I wanted to try to do some things that ⌸ can do, without having access to it. So, I

[Bug-apl] Defect in 722 and 723

2016-04-26 Thread Fred Weigel
A defect was introduced in revision 722. In libapl.cc, line 410, a parameter "false" should be added. FredW

Re: [Bug-apl] Unexpected result when attempting to enclose over rows

2016-04-26 Thread Jay Foad
I agree that this seems like a bug. Your example works in NARS2000 and Dyalog. To make it work in GNU APL I currently have to do an extra enclose: ({⊂⊂⍵}⍤1)z,⍪z←⍳4 ┌→──┐ │┌→──┐ ┌→──┐ ┌→──┐ ┌→──┐│ ││1 1│ │2 2│ │3 3│ │4 4││ │└───┘ └───┘ └───┘ └───┘│ └∊──

[Bug-apl] Unexpected result when attempting to enclose over rows

2016-04-26 Thread Elias Mårtenson
Given the following definition: * z←⍳4* I was trying to generate the following: ┏→━━┓ ┃┏→━━┓ ┏→━━┓ ┏→━━┓ ┏→━━┓┃ ┃┃1 1┃ ┃2 2┃ ┃3 3┃ ┃4 4┃┃ ┃┗━━━┛ ┗━━━┛ ┗━━━┛ ┗━━━┛┃ ┗∊━━┛ I attempted to do the following: * (⊂⍤1) z,⍪z* I expected this to work, b