Closures/Value capture: Difference between revisions
→{{header|Quackery}}: added commentary
(Added Quackery.) |
(→{{header|Quackery}}: added commentary) |
||
Line 1,758:
=={{header|Quackery}}==
Strictly speaking, we could get away with <code>[ table 0 1 4 9 16 25 36 49 64 81 ] is functions ( n --> n )</code> for this task, as numbers in Quackery are functions that return their own value when executed, e.g <code>5 do</code> returns <code>5</code>, but it feels like cheating.
<lang Quackery> [ table ] is functions▼
▲<lang Quackery> [ table ] is functions ( n --> [ )
10 times
|