]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/basic_rg/brgReduction.mli
Code simplified.
[helm.git] / helm / software / lambda-delta / basic_rg / brgReduction.mli
index fecf29b83c647f5f29d1154b11574f3c3c01c2c6..94f6543e06889c70f2ce768ecf105ea32a0cf4c3 100644 (file)
@@ -9,6 +9,19 @@
      \ /   This software is distributed as is, NO WARRANTY.              
       V_______________________________________________________________ *)
 
-exception LRefNotFound of string Lazy.t
+type kam
 
-type context
+val empty_kam: kam
+
+val get: (unit -> 'a) -> (Brg.bind -> 'a) -> kam -> int -> 'a
+
+val push: (kam -> 'a) -> kam -> Brg.bind -> 'a
+
+val xwhd: (kam -> Brg.term -> 'a) -> kam -> Brg.term -> 'a 
+
+(* arguments: expected type, inferred type *) 
+val are_convertible:
+   (unit -> 'a) -> (unit -> 'a) -> 
+   ?si:bool -> kam -> Brg.term -> kam -> Brg.term -> 'a
+
+val specs: (kam, Brg.term) Log.specs