accumulate

Name

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.

Implementation Notes

Module: (app scwm listops)

Defined in scheme/listops.scm at line 53 (CVS log)