Commit 24523591 authored by Kim Nguyễn's avatar Kim Nguyễn
Browse files

Add a println builtin function that prints a newline.

parent d9edaee1
......@@ -250,6 +250,15 @@ register_fun "print"
register_fun "println"
string_latin1 nil
(fun v ->
Cduce_loc.protect_op "println";
print_endline (Value.get_string_latin1 v);
flush stdout;
register_fun "print_utf8"
string nil
(fun v ->
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment