\ / 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