Skip to content
Snippets Groups Projects
Commit fc78a9d1 authored by Michele Alberti's avatar Michele Alberti
Browse files

[interpretation] Proper silencing of warning for debug printing.

parent c3a76ebd
No related branches found
No related tags found
No related merge requests found
...@@ -98,11 +98,10 @@ let caisar_env env cwd = ...@@ -98,11 +98,10 @@ let caisar_env env cwd =
cwd; cwd;
} }
let print_caisar_op fmt caisar_env = let print_caisar_op_of_ls fmt caisar_env =
Pp.print_iter2 Term.Hls.iter Pp.newline Pp.comma Pretty.print_ls pp_caisar_op Pp.print_iter2 Term.Hls.iter Pp.newline Pp.comma Pretty.print_ls pp_caisar_op
fmt caisar_env.caisar_op_of_ls fmt caisar_env.caisar_op_of_ls
[@@warning "-32"]
let _ = print_caisar_op
let const_real_of_float value = let const_real_of_float value =
let neg = Float.is_negative value in let neg = Float.is_negative value in
...@@ -414,5 +413,5 @@ let interpret_task ~cwd env task = ...@@ -414,5 +413,5 @@ let interpret_task ~cwd env task =
let task = Task.(add_prop_decl task Pgoal g f) in let task = Task.(add_prop_decl task Pgoal g f) in
(* Fmt.pr "%a : %a@.%a@." Pretty.print_pr (Task.task_goal task) (* Fmt.pr "%a : %a@.%a@." Pretty.print_pr (Task.task_goal task)
Pretty.print_term *) Pretty.print_term *)
(* f print_caisar_op caisar_env; *) (* f print_caisar_op_of_ls caisar_env; *)
task task
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment