chickadee » stack » stack-fold

stack-fold STACK PROCEDURE INITIALprocedure

Invokes the PROCEDURE on each element of the stack and the accumulated result. Returns the accumulated result. The initial accumulated result is INITIAL.

Processing of the stack elements in order of top to bottom.