Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
caisar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
caisar
Commits
fc78a9d1
Commit
fc78a9d1
authored
1 year ago
by
Michele Alberti
Browse files
Options
Downloads
Patches
Plain Diff
[interpretation] Proper silencing of warning for debug printing.
parent
c3a76ebd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/interpretation.ml
+3
-4
3 additions, 4 deletions
src/interpretation.ml
with
3 additions
and
4 deletions
src/interpretation.ml
+
3
−
4
View file @
fc78a9d1
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment