Catamorphism: Difference between revisions
Content added Content deleted
(add BQN) |
|||
Line 414: | Line 414: | ||
BQN has two different primitives for catamorphism: |
BQN has two different primitives for catamorphism: |
||
<ul> |
|||
⚫ | |||
<li>Fold(<code>´</code>): Works on lists only.</li> |
|||
⚫ | |||
</ul> |
|||
Both of these primitives take a dyadic function, and an optional initial element. |
Both of these primitives take a dyadic function, and an optional initial element. |