]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/bin/recomm/recommGcrGroundCounters.ml
propagating the arithmetics library, partial commit
[helm.git] / matita / matita / contribs / lambdadelta / bin / recomm / recommGcrGroundCounters.ml
diff --git a/matita/matita/contribs/lambdadelta/bin/recomm/recommGcrGroundCounters.ml b/matita/matita/contribs/lambdadelta/bin/recomm/recommGcrGroundCounters.ml
new file mode 100644 (file)
index 0000000..d85161f
--- /dev/null
@@ -0,0 +1,11 @@
+let step k ok outs ins =
+  if ok then k ok outs ins else
+  match ins with
+  | "SHIFT" :: tl -> k true ("SHIFT" :: outs) tl
+  | "MAXIMUM" :: tl -> k true ("MAXIMUM" :: outs) tl
+  | "MAXIMUN" :: tl -> k true ("MAXIMUM" :: outs) tl
+  | "ADDITION" :: tl -> k true ("ADDITION" :: outs) tl
+  | _ -> k ok outs ins
+
+let main =
+  RecommPccFor.register_r step