accumulate -- Repeatedly apply PROC to a current value and a member of L.
Synopsis
(accumulate proc init l)
Description
Repeatedly apply PROC to a current value and a member of L.
The initial current value is INIT. The list is processed from left to
right. The final result is returned. Compare to reduce.