sig val fold_dependencies : (string -> string -> 'a -> 'a) -> 'a -> 'a val fold_libraries : (Pathname.t -> Pathname.t list -> 'a -> 'a) -> 'a -> 'a val fold_packages : (Pathname.t -> Pathname.t list -> 'a -> 'a) -> 'a -> 'a end