Applies a function to all objects in the root set of a rucksack.
(defgeneric map-rucksack-roots (function rucksack) (:documentation "Applies a function to all objects in the root set of a rucksack."))