stdune

Dune's unstable standard library
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library stdune
Module Stdune . Top_closure . Make

Parameters

module Monad : sig ... end

Signature

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