From 7daef0b418e87f39019eacf72a1230f7616c2a53 Mon Sep 17 00:00:00 2001 From: gareuselesinge Date: Mon, 7 Oct 2013 16:17:44 +0000 Subject: cStack: make it just a Stack with some extra API git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16855 85f007b7-540e-0410-9357-904b9bb8a0f7 --- lib/cStack.mli | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'lib/cStack.mli') diff --git a/lib/cStack.mli b/lib/cStack.mli index 78d2563a17..12bec14572 100644 --- a/lib/cStack.mli +++ b/lib/cStack.mli @@ -58,21 +58,3 @@ type ('b, 'c) seek = ('b, 'c) CSig.seek = Stop of 'b | Next of 'c @raise Not_found it there is none. *) val fold_until : ('c -> 'a -> ('b, 'c) seek) -> 'c -> 'a t -> 'b -(** After [focus s c1 c2] the top of [s] is the topmost element [x] such that - [c1 x] is [true] and the bottom is the first element [y] following [x] - such that [c2 y] is [true]. After a focus push/pop/top/fold_until - only use the focused part. - @raise Invalid_argument "CStack.focus" if there is no such [x] and [y] *) -val focus : 'a t -> cond_top:('a -> bool) -> cond_bot:('a -> bool) -> unit - -(** Undoes a [focus]. - @raise Invalid_argument "CStack.unfocus" if the stack is not focused *) -val unfocus : 'a t -> unit - -(** Is the stack focused *) -val focused : 'a t -> bool - -(** Returns [top, s, bot] where [top @ s @ bot] is the full stack, and [s] - the focused part *) -val to_lists : 'a t -> 'a list * 'a list * 'a list - -- cgit v1.2.3