]> matita.cs.unibo.it Git - fireball-separation.git/blobdiff - ocaml/test.ml
Removed lambda3 + Fixed lambda4
[fireball-separation.git] / ocaml / test.ml
index 2f6017a58660319ac75e6a668c1a10ae9b939af4..ed41f7ac684c6188b18fc25c84620fdae340939e 100644 (file)
@@ -1,9 +1,10 @@
 let three = Array.length Sys.argv = 1;;
 
 let discriminator =
- if three
- then (module Lambda3 : Discriminator.Discriminator)
- else (module Lambda4);;
+ (* if three *)
+ (* then (module Lambda3 : Discriminator.Discriminator) *)
+ (* else *)
+ (module Lambda4 : Discriminator.Discriminator);;
 
 module Pippo = (val discriminator);;
 open Pippo;;
@@ -59,11 +60,11 @@ let rec repeat f n =
   if n > 0 then repeat f (n-1)
 ;;
 
-let call_main3 tms =
+(* let call_main3 tms =
   let _ = (
   List.iter prerr_endline tms; prerr_newline ();
   ) in Lambda3.main [Lambda3.magic tms ["*"]]
-;;
+;; *)
 let call_main4 div convs nums =
   let _ = (
   (match div with Some div -> prerr_endline ("DIV: " ^ div) | None -> ());
@@ -81,11 +82,12 @@ let main =
 
   (* let open Parser in *)
 
-  if three then repeat (fun _ ->
+  (* if three then repeat (fun _ ->
     let tms = test3 complex vars in
     call_main3 tms
   ) num
-  else repeat (fun _ ->
+  else *)
+  repeat (fun _ ->
     let div, (conv, nums) = test4 complex vars in
     call_main4 (Some div) conv nums
   ) num