package stdune

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

module Keys : sig ... end
module Monad : sig ... end

Signature

val top_closure : key:('a -> Keys.elt) -> deps:('a -> 'a list Monad.t) -> 'a list -> ('a list, 'a list) Stdlib.result Monad.t

Returns Error cycle in case the graph is not a DAG

OCaml

Innovation. Community. Security.