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, 3 insertions, 3 deletions
diff --git a/source/program.lux b/source/program.lux
index 22bbad2d5..2bbf3fd4f 100644
--- a/source/program.lux
+++ b/source/program.lux
@@ -13,6 +13,6 @@
(jvm-program _
(exec (println "Hello, world!")
- (println ($ text:++ "2 + 2 = " (->text (int:+ 2 2))))
- (println (->text (using Int:Ord
- (< 5 10))))))
+ (|> (int:+ 2 2) ->text ($ text:++ "2 + 2 = ") println)
+ (println (->text (using Int:Ord
+ (< 5 10))))))