diff options
author | Eduardo Julian | 2015-07-26 23:09:47 -0400 |
---|---|---|
committer | Eduardo Julian | 2015-07-26 23:09:47 -0400 |
commit | 8fb7683f9029127be9cf36336c367813c88f681b (patch) | |
tree | f90c677183cb46b04b70550614a78befa44480a4 /source/lux/data/io.lux | |
parent | 9b7cfd6f5bcc93e2f2f0c3129b7ec6d62c69bb37 (diff) |
- Changed the name of lux/host/java to lux/host/jvm
- Completed lux/host/jvm
- Modified (slightly) the syntax used in several host (JVM) special forms.
- The "defsyntax" macro now binds all of the arguments it receives inside a variable named "tokens".
Diffstat (limited to 'source/lux/data/io.lux')
-rw-r--r-- | source/lux/data/io.lux | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/lux/data/io.lux b/source/lux/data/io.lux index 17e8d727a..a194fc854 100644 --- a/source/lux/data/io.lux +++ b/source/lux/data/io.lux @@ -44,8 +44,8 @@ ## Functions (def #export (print x) (-> Text (IO (,))) - (io (_jvm_invokevirtual java.io.PrintStream print [java.lang.Object] - (_jvm_getstatic java.lang.System out) [x]))) + (io (_jvm_invokevirtual "java.io.PrintStream" "print" ["java.lang.Object"] + (_jvm_getstatic "java.lang.System" "out") [x]))) (def #export (println x) (-> Text (IO (,))) |