As a convenience, the value returned by f(k) is used as the third argument in map(C_k,D_k,f(k)).
The function f is called only for those indices which represent spots occupied in both the source and target chain complexes.
See also ChainComplex.