Catamorphism: Difference between revisions
Content added Content deleted
(Add Quackery) |
m (→{{header|Quackery}}: remove nests) |
||
Line 1,805: | Line 1,805: | ||
=={{header|Quackery}}== |
=={{header|Quackery}}== |
||
Among its many other uses, <code>witheach</code> can act like reduce. In the Quackery shell (REPL): |
Among its many other uses, <code>witheach</code> can act like reduce. In the Quackery shell (REPL): |
||
<lang quackery>/O> 0 ' [ 1 2 3 4 5 ] witheach |
<lang quackery>/O> 0 ' [ 1 2 3 4 5 ] witheach + |
||
... 1 ' [ 1 2 3 4 5 ] witheach |
... 1 ' [ 1 2 3 4 5 ] witheach * |
||
... |
... |
||