Re:Ioke is a folding language
by hellbanner on Wednesday June 24, 2015 @12:33PM
(#9772718)
I was trying to help out those asking about what Fold is. I guess it doesn't show well if the Wikipedia explanation is confusing!
The definition of folding in Wikipedia is not relevant to Ola Bini's usage of the term.
Re:Ioke is a folding language
by hellbanner on Thursday June 25, 2015 @06:28PM
(#9781314)
Thanks. I misunderstood both of them.
In functional programming, fold – also known variously as reduce, accumulate, aggregate, compress, or inject – refers to a family of higher-order functions that analyze a recursive data structure and through use of a given combining operation, recombine the results of recursively processing its constituent parts, building up a return value. Typically, a fold is presented with a combining function, a top node of a data structure, and possibly some default values to be used under certain conditions. The fold then proceeds to combine elements of the data structure's hierarchy, using the function in a systematic way.