aboutsummaryrefslogtreecommitdiff
path: root/source/program.lux
diff options
context:
space:
mode:
authorEduardo Julian2015-07-29 20:20:26 -0400
committerEduardo Julian2015-07-29 20:20:26 -0400
commitc79621772c862e9b94e1fc43e11996cbac54fed1 (patch)
tree99a01f460c09f1655e83685fbe35c91242618cc5 /source/program.lux
parent8fb7683f9029127be9cf36336c367813c88f681b (diff)
- lux;using no longer prefixes variables.
- Fixed several bugs with host (JVM) interop. - Now packaging everything in a .jar file ("program.jar").
Diffstat (limited to 'source/program.lux')
-rw-r--r--source/program.lux10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/program.lux b/source/program.lux
index 37391eda9..086506725 100644
--- a/source/program.lux
+++ b/source/program.lux
@@ -41,8 +41,8 @@
(program args
(case args
- #;Nil
- (println "Hello, world!")
-
- (#;Cons [name _])
- (println ($ text:++ "Hello, " name "!"))))
+ (\ (list name))
+ (println ($ text:++ "Hello, " name "!"))
+
+ _
+ (println "Hello, world!")))