The "fold" pattern is common in FP languages. It is commonly seen as a "Right Fold" in the form of reduce, which takes a single value and iterates it with the stack to form a single value (e.g., with an addition to get a sum). A recursive solution to...LEMBARK/Keyword-TreeFold-v0.1.1 - 07 Jul 2016 11:27:47 GMT
Keyword::TreeFold - Add keyword for an FP tree-fold.
1 result (0.03 seconds)