added ml and mli base content
This commit is contained in:
parent
52f768a8c5
commit
14d292f3c6
2 changed files with 12 additions and 0 deletions
|
@ -0,0 +1,7 @@
|
||||||
|
(* Yes, we have to repeat open Graph. *)
|
||||||
|
open Graph
|
||||||
|
|
||||||
|
(* assert false is of type ∀α.α, so the type-checker is happy. *)
|
||||||
|
let clone_nodes gr = assert false
|
||||||
|
let gmap gr f = assert false
|
||||||
|
let add_arc g id1 id2 =
|
|
@ -0,0 +1,5 @@
|
||||||
|
open Graph
|
||||||
|
|
||||||
|
val clone_nodes: 'a graph -> 'b graph
|
||||||
|
val gmap: 'a graph -> ('a -> 'b) -> 'b graph
|
||||||
|
val add_arc: int graph -> id -> id -> int -> int graph
|
Loading…
Reference in a new issue