Closures/Value capture: Difference between revisions
Content added Content deleted
(Added Quackery.) |
(→{{header|Quackery}}: added commentary) |
||
Line 1,758: | Line 1,758: | ||
=={{header|Quackery}}== |
=={{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. |
|||
⚫ | |||
⚫ | |||
10 times |
10 times |