aboutsummaryrefslogtreecommitdiff
path: root/source/program.lux
diff options
context:
space:
mode:
authorEduardo Julian2015-05-10 10:37:06 -0400
committerEduardo Julian2015-05-10 10:37:06 -0400
commitab7b946a980475cad1e58186ac8c929c7659f529 (patch)
treed84a9eb52a9ac5af73ed624ff2ec65975f0d31c9 /source/program.lux
parent0d365358ebc7d3e6f99c74641162d2024772698c (diff)
- Now analysing function-application backwards.
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))))))