]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/basic_rg/brgReduction.mli
- new semantic log system
[helm.git] / helm / software / lambda-delta / basic_rg / brgReduction.mli
index a8320ed557463663219be39e88c66a1976dd5dac..b3a79ecaebb323943a8c6ac89073a5f6d017727c 100644 (file)
@@ -9,19 +9,21 @@
      \ /   This software is distributed as is, NO WARRANTY.              
       V_______________________________________________________________ *)
 
-exception LRefNotFound of string Lazy.t
-
 type context
 
+exception LRefNotFound of (context, Brg.term) Log.item list
+
 type ho_whd_result =
    | Sort of int
    | Abst of Brg.term
 
 val empty_context: context
 
-val push: (context -> 'a) -> context -> Brg.bind -> Brg.term -> 'a
+val push: (context -> 'a) -> context -> Brg.bind -> 'a
+
+val get: (Brg.bind -> 'a) -> context -> int -> 'a
 
-val get: (Brg.bind * Brg.term -> '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