4 ms·
Yes, that is because folds work on catamorphisms in category theory.
by satvikpendem 2y ago
Yes, that is because folds work on catamorphisms in category theory.
- tmoertel 2y agoIndeed! The first example I linked to explains this connection in detail.