The new notation is the same one used in Standard ML. It will also allow us to use ' in the beginning of identifiers like Standard ML.
11 lines
199 B
Text
11 lines
199 B
Text
import system.io
|
|
|
|
check #"a"
|
|
|
|
vm_eval #"a"
|
|
vm_eval #"\n"
|
|
vm_eval #"\\"
|
|
vm_eval put_str (list.cons #"\\" "aaa")
|
|
vm_eval put_str [#"\n"]
|
|
vm_eval put_str [#"\n"]
|
|
vm_eval put_str (list.cons #"\'" "aaa")
|