Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
isa-afp
afp-devel
Commits
4f8e7efb12a8
Commit
3e85a9b1
authored
Feb 22, 2021
by
wenzelm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adapted to Isabelle/0110e2e2964c;
parent
be5e2dcd71e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
thys/CakeML/Tools/cakeml_compiler.ML
thys/CakeML/Tools/cakeml_compiler.ML
+2
-2
No files found.
thys/CakeML/Tools/cakeml_compiler.ML
View file @
4f8e7efb
...
...
@@ -54,7 +54,7 @@ fun compile_ml_file mode source =
if
not
(
Process_Result
.
ok
res
)
orelse
err
<>
""
then
error
"CakeML: ML compilation failed"
else
(
File
.
write
output
(
trim_line
out
)
;
output
)
(
File
.
write
output
out
;
output
)
end
fun
compile_ml
mode
source
=
...
...
@@ -120,7 +120,7 @@ fun eval mode source =
if
not
(
Process_Result
.
ok
res
)
orelse
err
<>
""
then
error
"CakeML: evaluation failed"
else
trim_line
out
out
end
fun
eval_source
mode
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment