]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/basic_rg/brgReduction.mli
- basic_rg: architectural bug fix
[helm.git] / helm / software / lambda-delta / basic_rg / brgReduction.mli
index b3a79ecaebb323943a8c6ac89073a5f6d017727c..91a0289bba82fb8f3d34cbe1d5cc9c6cca5eb182 100644 (file)
@@ -9,22 +9,15 @@
      \ /   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