]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/basic_rg/brgReduction.mli
basic_rg: improved interface, unwind removed from applicability check
[helm.git] / helm / software / lambda-delta / basic_rg / brgReduction.mli
index 57e2bfb417ea2540c32244bc08510f040cb2f6cb..e5c670dd42f91c56ab1a81da9a4f4c208e5c6596 100644 (file)
@@ -9,11 +9,9 @@
      \ /   This software is distributed as is, NO WARRANTY.              
       V_______________________________________________________________ *)
 
+exception TypeError of Brg.message
 
-exception LRefNotFound of Brg.message
-
-val domain: 
-   (Brg.term option -> 'a) -> Brg.context -> Brg.term -> 'a
-
-val are_convertible:
-   (bool -> 'a) -> ?si:bool -> Brg.context -> Brg.term -> Brg.term -> 'a
+(* 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