Release coccinelle-0.2.2-rc2
[bpt/coccinelle.git] / commons / ocollection.mli
index 03d2d83..70213c8 100644 (file)
@@ -1,5 +1,5 @@
-type ('a, 'b) view = 
-  | Empty 
+type ('a, 'b) view =
+  | Empty
   | Cons of 'a * 'b
 
 class virtual ['a] ocollection :
@@ -17,6 +17,10 @@ object ('o)
   method virtual mem : 'a -> bool
   method virtual null : bool
 
+  (* effect version *)
+  method add2: 'a -> unit
+  method del2: 'a -> unit
+  method clear: unit
 
 
   method fold : ('c -> 'a -> 'c) -> 'c -> 'c