bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] Each first


From: Daniel H. Leidisch
Subject: [Bug-apl] Each first
Date: Sun, 02 Mar 2014 11:37:45 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Hello!

Each first of a nested lists behaves weirdly.

      ↑¨(1 2) (3 4)
1 3
      ≡↑¨(1 2) (3 4)
1

So far so good, but:

      8⎕cr ↑¨(1 2) (3 4)
┌→──────┐
│┌─┐ ┌─┐│
││1│ │3││
│└─┘ └─┘│
└───────┘
      (↑¨(1 2) (3 4))⍳3
3

This works (i.e. returns ⎕io+1) in NARS2000 and NGN.


Regards,

Daniel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]