It would be great if we could use Fold and FoldList functionality of Mathematica within Grasshopper.

https://reference.wolfram.com/language/ref/Fold.html

Basically, the component would take a list {a,b,c,d,…} and is somehow “linked” to a certain component F, and returns {a, F(a,b), F(F(a,b),c), F(F(F(a,b),c),d),…}. This behavior is similar to mass addition, but now I want this to work with any cluster I define.

This functionality could be a safer alternative for recursive or iterative code. Does anyone make a component to do this, or would this be a proper feature request for Grasshopper?