let
fold_dependencies f =
fold_cache (
fun
k v
->
Resources
.fold (f k) v.dependencies)