X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbin%2Frecomm%2FrecommGcsWith.ml;h=091bb2d12a447aa129d300813f77b68e2cf4d485;hb=4d232392091ee233afc26ecf3120dd5f5c6a33c8;hp=8e1d810a2bf92d225b57f07e721fd39a64c77155;hpb=baa54e5db0fb93c4242dd1b67a5018ca63206cf6;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/bin/recomm/recommGcsWith.ml b/matita/matita/contribs/lambdadelta/bin/recomm/recommGcsWith.ml index 8e1d810a2..091bb2d12 100644 --- a/matita/matita/contribs/lambdadelta/bin/recomm/recommGcsWith.ml +++ b/matita/matita/contribs/lambdadelta/bin/recomm/recommGcsWith.ml @@ -1,10 +1,12 @@ +module T = RecommTypes +module R = RecommCheck module D = RecommGcsMain -let step k ok outs ins = - if ok then k ok outs ins else +let step k st outs ins = + if st = T.KO then k st outs ins else match ins with - | "with" :: tl -> k ok ("with" :: outs) tl - | _ -> k true outs ins + | "with" :: tl -> k T.OK ("with" :: outs) tl + | _ -> k T.OO outs ins let main = - RecommCheck.register_s step + R.register_s step