J
José Cavalheiroadded this to Python
Right and left folds, primitive recursion patterns in Python and Haskell

Right and left folds, primitive recursion patterns in Python and Haskell

thegreenplace.net

A "fold" is a fundamental primitive in defining operations on data structures; it's particularly important in functional languages where recursion is …

View on thegreenplace.net