Apply a callback to an array: Difference between revisions
→{{header|Quackery}}: tidy up
(→{{header|Quackery}}: added an array-like method.) |
(→{{header|Quackery}}: tidy up) |
||
Line 2,521:
Stack empty.
... [] swap witheach ▼
▲... ' [ 1 2 3 4 5 6 7 8 9 10 ]
▲... witheach
... [ cubed join ]
...
Line 2,530 ⟶ 2,529:
/O> drop
...
... ' [ 1 2 3 4 5 6 7 8 9 10 ]▼
Stack empty.
... dup witheach
... [ cubed swap i^ poke ]
|