aboutsummaryrefslogtreecommitdiff
path: root/test2.lang
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test2.lang4
1 files changed, 3 insertions, 1 deletions
diff --git a/test2.lang b/test2.lang
index c8f2147ed..14e6604a5 100644
--- a/test2.lang
+++ b/test2.lang
@@ -29,9 +29,11 @@
(def (main args)
(if true
- (_. (_.. System out) (println ((lambda [x y] x) "TRUE" "YOLO")))
+ (do (_. (_.. System out) (println "ONE"))
+ (_. (_.. System out) (println "TWO")))
(_. (_.. System out) (println "FALSE"))))
+## All of these work :D
#( (let output ((lambda [x y] x) "TRUE" "YOLO")
(_. (_.. System out) (println output))) )#
#( (let f (lambda [x y] x)