next | previous | forward | backward | up | top | index | toc | home

fold(VisibleList,Thing,Function)

Synopsis

Description

fold({xn,...,x1},x0,f) -- computes f(...f(x2,f(x1,x0))...)}.
i1 : fold({a,b,c,d}, e, identity)

o1 = (a, (b, (c, (d, e))))

o1 : Sequence