diff options
Diffstat (limited to 'test2.lux')
-rw-r--r-- | test2.lux | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -135,9 +135,12 @@ ## #when true] ## (meme yolo foo)) -#( (def (+ x y) - (jvm/i+ x y)) +(def (+ x y) + (do ## (:: (:: System out) (println "x = ")) (:: (:: System out) (println x)) + ## (:: (:: System out) (println "y = ")) (:: (:: System out) (println y)) + (jvm/i+ x y))) +#( (def inc (+ 1)) (def (fold f init values) @@ -180,7 +183,11 @@ (def (main args) (case (' ((~ "Oh yeah..."))) (#Form (#Cons (#Text text) #Nil)) - (:: (:: System out) (println text)) + (do (:: (:: System out) (println text)) + (:: (:: System out) (println (+ 10 20))) + (:: (:: System out) (println (jvm/i- 10 20))) + (:: (:: System out) (println (jvm/i* 10 20))) + (:: (:: System out) (println (jvm/i/ 10 2)))) )) #( |