diff --git a/src/data/CCGraph.mli b/src/data/CCGraph.mli index f7ab570c..557fa7e6 100644 --- a/src/data/CCGraph.mli +++ b/src/data/CCGraph.mli @@ -249,7 +249,8 @@ val topo_sort_tag : eq:('v -> 'v -> bool) -> graph:('v, 'e) t -> 'v iter -> 'v list -(** Same as {!topo_sort} but uses an explicit tag set. *) +(** Same as {!topo_sort} but uses an explicit tag set. + @raise Has_cycle if the graph is not a DAG. *) (** {2 Lazy Spanning Tree} *)