@Uriel You can insert 0⌿⎕←' '⍪ before the first code line.
@Uriel I know, but if you zoom out it may look ok, and technically, it does return the right result. I've been thinking of making ∊'s output just like ≡'s. Should I do that?
@Pavel
Rebuilding user command cache... done
Was OFF -trains=box -fns=off
⎕:
⎕:
Real time: 1.546 s
User time: 1.441 s
Sys. time: 0.040 s
CPU share: 95.77 %
Exit code: 0
@Zacharý
Rebuilding user command cache... done
Was OFF -trains=box -fns=off
⍎DOMAIN ERROR
__field_initialize_result_←(⎕NS ⍬).⍎'⎕CY''salt''⋄⎕SE.UCMD''box on -fns=on -trains=tree''⊣enableSALT' ⋄ ⎕←(⊢×*)⍣¯1⊢¯1
∧
Real time: 1.029 s
User time: 0.955 s
Sys. time: 0.038 s
CPU share: 96.52 %
Exit code: 0
@RosLuP Because usually what's being done is on the left. A∘f should be meaningful. However, - and ÷ have this reversed (you subtract something, and divide by something) and have been preserved in APL in order to not conflict with traditional mathematics (which APL originally was intended to replace). | (mod), which was a new thing, could have its arguments in sensible order.
@RosLuP In other words, usually you want the mod-constant of something, not the mod-something of a constant. mod-2 is way more common than 2-mod.
Hey @Adám, if I have a boolean vector (say 1 0 1) and want to apply a function f to the truthy indices of another vector 1 2 3(so, in this case, apply f to 1 and 3), could you give me a clue here?
@Adám
Rebuilding user command cache... done
Was OFF -trains=box -fns=off
⍎INDEX ERROR
__field_initialize_result_←(⎕NS ⍬).⍎'⎕CY''salt''⋄⎕SE.UCMD''box on -fns=on -trains=tree''⊣enableSALT' ⋄ ⎕←10×@1 0 1⊢1 2 3
∧
Real time: 1.120 s
User time: 1.020 s
Sys. time: 0.044 s
CPU share: 94.94 %
Exit code: 0
@Adám
┌───────────────────┬───────────────┬─────────┬─────────────┐
│Here are some lines│uoy rof txet fo│to make a│nodehportsuob│
└───────────────────┴───────────────┴─────────┴─────────────┘
Some more videos now available from Dyalog '17 at https://dyalog.tv/Dyalog17/?v=KO1HbUSblY8
This week – D06: Py 'n' APL | U11: Polyominoes in APL | U12: Evolutionary Programming
@J.Sallé or he probably saw the discussion we were having about this, noticed that this effect could be useful, and made a 4-byte submission with the length of a golfing language's solution