mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-06 03:05:31 -05:00
small change in sigs
This commit is contained in:
parent
7fbfb8439b
commit
4a5ccffc7a
1 changed files with 9 additions and 0 deletions
|
|
@ -69,6 +69,15 @@ module type BACKTRACKABLE0 = sig
|
||||||
(** [pop_levels st n] removes [n] levels *)
|
(** [pop_levels st n] removes [n] levels *)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
module type BACKTRACKABLE0_CB = sig
|
||||||
|
include BACKTRACKABLE0
|
||||||
|
|
||||||
|
type elt
|
||||||
|
|
||||||
|
val pop_levels : t -> int -> f:(elt -> unit) -> unit
|
||||||
|
(** [pop_levels st n ~f] removes [n] levels and calls [f] on each element *)
|
||||||
|
end
|
||||||
|
|
||||||
module type BACKTRACKABLE1 = sig
|
module type BACKTRACKABLE1 = sig
|
||||||
type 'a t
|
type 'a t
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue