X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Flambda-delta%2Fbasic_rg%2FbrgReduction.mli;h=b3a79ecaebb323943a8c6ac89073a5f6d017727c;hb=40b85b6717785a7b24f2bc0680e716655b8faf99;hp=a8320ed557463663219be39e88c66a1976dd5dac;hpb=f3b4d265268a43ca98e6843b733109fdfe3f6b0b;p=helm.git diff --git a/helm/software/lambda-delta/basic_rg/brgReduction.mli b/helm/software/lambda-delta/basic_rg/brgReduction.mli index a8320ed55..b3a79ecae 100644 --- a/helm/software/lambda-delta/basic_rg/brgReduction.mli +++ b/helm/software/lambda-delta/basic_rg/brgReduction.mli @@ -9,19 +9,21 @@ \ / This software is distributed as is, NO WARRANTY. V_______________________________________________________________ *) -exception LRefNotFound of string Lazy.t - type context +exception LRefNotFound of (context, Brg.term) Log.item list + type ho_whd_result = | Sort of int | Abst of Brg.term val empty_context: context -val push: (context -> 'a) -> context -> Brg.bind -> Brg.term -> 'a +val push: (context -> 'a) -> context -> Brg.bind -> 'a + +val get: (Brg.bind -> 'a) -> context -> int -> 'a -val get: (Brg.bind * Brg.term -> 'a) -> context -> int -> 'a +val iter: (unit -> 'a) -> ((unit -> 'a) -> Brg.bind -> 'a) -> context -> 'a val are_convertible: (bool -> 'a) -> context -> Brg.term -> Brg.term -> 'a