Clean up text handling a bit:
- Rename IO.write -> IO.print. - Make IO.write not print a newline. - Support \u Unicode escapes in strings.
This commit is contained in:
@@ -7,9 +7,9 @@ fn {
|
||||
fn {
|
||||
var c = "c"
|
||||
f = fn {
|
||||
IO.write(a)
|
||||
IO.write(b)
|
||||
IO.write(c)
|
||||
IO.print(a)
|
||||
IO.print(b)
|
||||
IO.print(c)
|
||||
}
|
||||
}.call
|
||||
}.call
|
||||
|
||||
Reference in New Issue
Block a user