stdune
Top_closure.Make
stdune.filesystem_stubs
module Keys : sig ... end
module Monad : sig ... end
val top_closure : key:('a -> Keys.elt) -> deps:('a -> 'a list Monad.t) -> 'a list -> ('a list, 'a list) result Monad.t
Returns Error cycle in case the graph is not a DAG
Error cycle