\ / This software is distributed as is, NO WARRANTY.
V_______________________________________________________________ *)
-type context
-exception LRefNotFound of (context, Brg.term) Log.item list
+exception LRefNotFound of Brg.message
type ho_whd_result =
| Sort of int
| Abst of Brg.term
-val empty_context: context
+val ho_whd:
+ (Brg.context -> ho_whd_result -> 'a) -> Brg.context -> Brg.term -> 'a
-val push: (context -> 'a) -> context -> Brg.bind -> 'a
-
-val get: (Brg.bind -> 'a) -> context -> int -> 'a
-
-val iter: (unit -> 'a) -> ((unit -> 'a) -> Brg.bind -> 'a) -> context -> 'a
-
-val are_convertible: (bool -> 'a) -> context -> Brg.term -> Brg.term -> 'a
-
-val ho_whd: (context -> ho_whd_result -> 'a) -> context -> Brg.term -> 'a
+val are_convertible:
+ (bool -> 'a) -> Brg.context -> Brg.term -> Brg.term -> 'a