chickadee » srfi-146 » mapping-map/monotone

mapping-map/monotone proc comparator mappingprocedure

Equivalent to (mapping-map proc comparator mapping), but it is an error if proc does not induce a strictly monotone mapping between the keys with respect to the ordering of the comparator of mapping and the ordering of comparator. Maybe be implemented more efficiently than mapping-map.