Add a utility function Boolean.iter that iterates a function over a formula.
[tatoo.git] / src / boolean.mli
index 2c1607f..28d6d84 100644 (file)
@@ -77,4 +77,7 @@ sig
   val fold : (t -> 'a -> 'a) -> t -> 'a -> 'a
   (** [fold f phi acc] folds [f] over the formula structure *)
 
+  val iter : (t -> unit) -> t -> unit
+  (** [iter f phi] iters [f] over the formula structure *)
+
 end