X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Flambda-delta%2Fbasic_rg%2FbrgReduction.mli;h=eebb157254fc5f1ccc38e5ea4705c6915c7295fb;hb=a22628e5de37d3ffe9de056d7683f2ebdf7226fb;hp=e5c670dd42f91c56ab1a81da9a4f4c208e5c6596;hpb=94c6cfe7e6b833190904c6b546668d716978a812;p=helm.git diff --git a/helm/software/lambda-delta/basic_rg/brgReduction.mli b/helm/software/lambda-delta/basic_rg/brgReduction.mli index e5c670dd4..eebb15725 100644 --- a/helm/software/lambda-delta/basic_rg/brgReduction.mli +++ b/helm/software/lambda-delta/basic_rg/brgReduction.mli @@ -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