Hacker News new | ask | show | jobs
by satvikpendem 532 days ago
Yes, that is because folds work on catamorphisms in category theory.
1 comments

Indeed! The first example I linked to explains this connection in detail.