- lru-cache-fold cache proc initprocedure
Calls proc (a procedure of three arguments: the entry key, value and accumulator, respectively) with each entry in cache, ordered from most recently to least recently used; the initial folded value is init, returns the final folded value. Does not affect the access ordering.
Note: proc must not mutate cache.