aboutsummaryrefslogtreecommitdiff
path: root/source/program.lux
diff options
context:
space:
mode:
Diffstat (limited to 'source/program.lux')
-rw-r--r--source/program.lux6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/program.lux b/source/program.lux
index 6ec9db79e..22bbad2d5 100644
--- a/source/program.lux
+++ b/source/program.lux
@@ -10,3 +10,9 @@
(if (p x)
(list& x (filter p xs'))
(filter p xs'))))
+
+(jvm-program _
+ (exec (println "Hello, world!")
+ (println ($ text:++ "2 + 2 = " (->text (int:+ 2 2))))
+ (println (->text (using Int:Ord
+ (< 5 10))))))