just uploaded to https://fpilluminated.com: Folding Cheat Sheet #4 🚀🙂Direct link: https://fpilluminated.com/deck/212 - For functions that can be defined both as an instance of a right fold and as an instance of a left fold, one may be more efficient than the other. #scala #haskell #fold #foldl #foldr #foldLeft #foldRight
Home Page

#Catamorphism is #foldr and hence can factor #recursion
If you think about it #mario was just a function call o(n) linear search of a list, bins ~ indices, caterpillars popping up were like objects with those indices.
tempted to compare ducks for filter() and seek something for #foldr, but I am afraid, analogy goes so far.
If you think about it #mario was just a function call o(n) linear search of a list, bins ~ indices, caterpillars popping up were like objects with those indices.
tempted to compare ducks for filter() and seek something for #foldr, but I am afraid, analogy goes so far.