diff options
author | Eduardo Julian | 2015-05-10 10:37:06 -0400 |
---|---|---|
committer | Eduardo Julian | 2015-05-10 10:37:06 -0400 |
commit | ab7b946a980475cad1e58186ac8c929c7659f529 (patch) | |
tree | d84a9eb52a9ac5af73ed624ff2ec65975f0d31c9 /source/program.lux | |
parent | 0d365358ebc7d3e6f99c74641162d2024772698c (diff) |
- Now analysing function-application backwards.
Diffstat (limited to '')
-rw-r--r-- | source/program.lux | 6 |
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)))))) |