]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/basic_ag/bagReduction.mli
maxmeta function to return the heighest meta used so far
[helm.git] / helm / software / lambda-delta / basic_ag / bagReduction.mli
index 2b5f02e71f450f58f27f7ef75c94a5ba629c66d2..1456d3cc669486dbab344523f45e5946e3ad8ab8 100644 (file)
@@ -14,10 +14,17 @@ exception LRefNotFound of Bag.message
 
 type ho_whd_result =
    | Sort of int
+   | GRef of NUri.uri * Bag.term list
    | Abst of Bag.term
 
+type ac_result = (int * NUri.uri * Bag.term list) list option
+
+type extension = No | NSI
+
 val ho_whd: 
-   (Bag.context -> ho_whd_result -> 'a) -> Bag.context -> Bag.term -> 'a
+   (ho_whd_result -> 'a) -> Bag.context -> Bag.term -> 'a
 
 val are_convertible:
-   (bool -> 'a) -> Bag.context -> Bag.term -> Bag.term -> 'a
+   (ac_result -> 'a) -> Bag.context -> Bag.term -> Bag.term -> 'a
+
+val ext: extension ref