Hi,
What are the standard name for the folding functions ?
foldr / foldf ?
And the 'thing' to use when foldX reach the end of the list in :
(foldr function list WHATEVER)
I don't know much about Lisp but I'm trying to mimic its lingo with C++
meta-programming.
Thanks for your time.
Guillaume <ยทยท@vaila.ble> writes:
> Hi,
>
> What are the standard name for the folding functions ?
> foldr / foldf ?
>
> And the 'thing' to use when foldX reach the end of the list in :
> (foldr function list WHATEVER)
>
> I don't know much about Lisp but I'm trying to mimic its lingo with C++
> meta-programming.
>
> Thanks for your time.
REDUCE (check the :FROM-END parameter).
http://www.lispworks.com/reference/HyperSpec/Body/f_reduce.htm
--
__Pascal Bourguignon__ http://www.informatimago.com/
NOTE: The most fundamental particles in this product are held
together by a "gluing" force about which little is currently known
and whose adhesive power can therefore not be permanently
guaranteed.