chickadee » sdbm » pair-fold

pair-fold db kons knilprocedure

Perform a fold over all pairs in SDBM database db. knil is the initial value. kons is a procedure of three arguments: (key val kvs). The return value of kons is passed to the next execution of kons in kvs.