]> 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 e5c670dd42f91c56ab1a81da9a4f4c208e5c6596..eebb157254fc5f1ccc38e5ea4705c6915c7295fb 100644 (file)
@@ -9,9 +9,18 @@
      \ /   This software is distributed as is, NO WARRANTY.              
       V_______________________________________________________________ *)
 
-exception TypeError of Brg.message
+type kam
 
-(* arguments: expected type, inferred type, typed term *) 
-val assert_conversion:
-   (unit -> 'a) -> ?si:bool -> ?rt:bool -> 
-   Brg.context -> Brg.term -> Brg.term -> Brg.term -> 'a
+val empty_kam: kam
+
+val get: kam -> int -> Brg.bind
+
+val push: kam -> Entity.attrs -> Brg.bind -> kam
+
+val xwhd: Entity.status -> kam -> Brg.term -> kam * Brg.term 
+
+(* arguments: expected type, inferred type *) 
+val are_convertible: 
+   Entity.status -> kam -> Brg.term -> kam -> Brg.term -> bool
+
+val specs: (kam, Brg.term) Log.specs