]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/bin/recomm/recommGcbGroundCounters.ml
update in ground
[helm.git] / matita / matita / contribs / lambdadelta / bin / recomm / recommGcbGroundCounters.ml
index 53a98c92e2f30b1297b3f8bd218b2fddab8a726a..8391c7da928a96bce36f497025da181abf5ca391 100644 (file)
@@ -1,10 +1,13 @@
-let step k ok outs ins =
-  if ok then k ok outs ins else
+module T = RecommTypes
+module R = RecommPcsAnd
+
+let step k st outs ins =
+  if st <> T.OO then k st outs ins else
   match ins with
-  | "rtc_plus" :: tl -> k true ("rtc_plus" :: outs) tl
-  | "rtc_max" :: tl -> k true ("rtc_max" :: outs) tl
-  | "rtc_shift" :: tl -> k true ("rtc_shift" :: outs) tl
-  | _ -> k ok outs ins
+  | "rtc_plus" :: tl -> k T.OK ("rtc_plus" :: outs) tl
+  | "rtc_max" :: tl -> k T.OK ("rtc_max" :: outs) tl
+  | "rtc_shift" :: tl -> k T.OK ("rtc_shift" :: outs) tl
+  | _ -> k T.OO outs ins
 
 let main =
-  RecommPcsAnd.register_b step
+  R.register_b step