I saw answer in this question How to use rank operator instead of each in APL how to build own Each operator using Rank ⍤
.
Monadic Each f¨x
can be represented as {⊂f⊃⍵}⍤0⊢x
Dyadic Each x f¨y
can be represented as x{⊂(⊃⍺)f(⊃⍵)}⍤0⊢y
In terms of this please answer following questions:
- Why Each
¨
operator can be represented as
Each←{⍺←⊢ ⋄ ⍺ ⍺⍺{×⎕NC'⍺':⊂(⊃⍺)⍺⍺(⊃⍵) ⋄ ⊂⍺⍺⊃⍵}⍤0⊢⍵}
- What means
⍺⍺
in the expression above
Thank you in advance for your answers.