[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-apl] IOTA
From: |
Jay Foad |
Subject: |
Re: [Bug-apl] IOTA |
Date: |
Thu, 3 Mar 2016 09:21:54 +0000 |
On 3 March 2016 at 08:12, Elias Mårtenson <address@hidden> wrote:
> What is the purpose of the double-enclose ⊂⊂⍬ ?
>
> My understanding was that (⊂⊂x)≡⊂x for all x?
No! ⊂ is a no-op on simple scalars like 42, but not on enclosures like
⊂⍬. You can enclose most arrays (i.e. anything except simple scalars)
as many times as you like, and they keep getting deeper and deeper.
Hmm, now I see that GNU APL seems to be broken. In APL2 and Dyalog and
NARS2000 I get:
≡⊂⊂⊂⊂⊂⊂⊂⊂⊂'elias'
10
But in GNU APL:
≡⊂⊂⊂⊂⊂⊂⊂⊂⊂'elias'
2
Jay.
- [Bug-apl] IOTA, Christian Robert, 2016/03/01
- Re: [Bug-apl] IOTA, Elias Mårtenson, 2016/03/01
- Re: [Bug-apl] IOTA, Elias Mårtenson, 2016/03/01
- Re: [Bug-apl] IOTA, Christian Robert, 2016/03/01
- Re: [Bug-apl] IOTA, Jay Foad, 2016/03/02
- Re: [Bug-apl] IOTA, Elias Mårtenson, 2016/03/02
- Re: [Bug-apl] IOTA, Nick Lobachevsky, 2016/03/02
- Re: [Bug-apl] IOTA, Jay Foad, 2016/03/03
- Re: [Bug-apl] IOTA, Elias Mårtenson, 2016/03/03
- Re: [Bug-apl] IOTA,
Jay Foad <=
- Re: [Bug-apl] IOTA, Juergen Sauermann, 2016/03/03
- Re: [Bug-apl] IOTA, Jay Foad, 2016/03/03
- Re: [Bug-apl] IOTA, Kacper Gutowski, 2016/03/03
- Re: [Bug-apl] IOTA, Juergen Sauermann, 2016/03/03
- Re: [Bug-apl] IOTA, Elias Mårtenson, 2016/03/03
- Re: [Bug-apl] IOTA, Juergen Sauermann, 2016/03/03
- Re: [Bug-apl] IOTA, Juergen Sauermann, 2016/03/03
- Re: [Bug-apl] IOTA, Mike Duvos, 2016/03/03
- Re: [Bug-apl] IOTA, Juergen Sauermann, 2016/03/03
- Re: [Bug-apl] IOTA, Mike Duvos, 2016/03/06