From 8f5cd3917fd3a94ae99710a614dce9028f9afad8 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Fri, 12 Dec 2014 19:07:58 -0400 Subject: Added let (local vars). --- test2.lang | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'test2.lang') diff --git a/test2.lang b/test2.lang index 0dd69acb9..885f4a91d 100644 --- a/test2.lang +++ b/test2.lang @@ -23,7 +23,12 @@ (def (id x) x) +## #( (def (id x) +## (let return "RETURN" +## return)) +## )# + (def (main args) (if true - (_. (_.. java.lang.System out) (println (id "YOLO"))) + (_. (_.. java.lang.System out) (println (id "TRUE"))) (_. (_.. java.lang.System out) (println "FALSE")))) -- cgit v1.2.3