3 ms·
Agreed! I was excited because I thought I was going to get a better explanation of Foldable than what the linked docs provide!
by _zachs 5y ago
Agreed! I was excited because I thought I was going to get a better explanation of Foldable than what the linked docs provide!
- dwohnitmok 5y ago`Foldable` is basically the FP equivalent of `Iterable` in Java if you're familiar with that. It's an abstraction you can write against if you want to support all sorts of data structures that can be iterated on (e.g. arrays, lists, trees, etc.).