]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/basic_rg/brgReduction.mli
brg: change in the representation of binders
[helm.git] / helm / software / lambda-delta / basic_rg / brgReduction.mli
index 2ad3bc522eb5039c1d2e11f6979e792c501b4bb8..eebb157254fc5f1ccc38e5ea4705c6915c7295fb 100644 (file)
@@ -9,19 +9,18 @@
      \ /   This software is distributed as is, NO WARRANTY.              
       V_______________________________________________________________ *)
 
-type machine
+type kam
 
-val empty_machine: machine
+val empty_kam: kam
 
-val get: (unit -> 'a) -> (Brg.bind -> 'a) -> machine -> int -> 'a
+val get: kam -> int -> Brg.bind
 
-val push: (machine -> 'a) -> machine -> Brg.bind -> 'a
+val push: kam -> Entity.attrs -> Brg.bind -> kam
 
-val xwhd: (machine -> Brg.term -> 'a) -> machine -> Brg.term -> 'a 
+val xwhd: Entity.status -> kam -> Brg.term -> kam * Brg.term 
 
 (* arguments: expected type, inferred type *) 
-val are_convertible:
-   (unit -> 'a) -> (unit -> 'a) -> 
-   ?si:bool -> machine -> Brg.term -> machine -> Brg.term -> 'a
+val are_convertible: 
+   Entity.status -> kam -> Brg.term -> kam -> Brg.term -> bool
 
-val specs: (machine, Brg.term) Log.specs
+val specs: (kam, Brg.term) Log.specs