Add two functions to the Node_list interface (and to the naive implementation):
[tatoo.git] / src / node_list.ml
index e9bb58a..1856bb8 100644 (file)
@@ -23,6 +23,8 @@ module type S =
     val add : node -> t -> unit
     val push_front : node -> t -> unit
     val push_back : node -> t -> unit
+    val pop : t -> node
+    val append : t -> t -> t
     val iter : (node -> unit) -> t -> unit
     val length : t -> int
     val is_empty : t -> bool