aboutsummaryrefslogtreecommitdiff
path: root/test2.lang
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test2.lang12
1 files changed, 2 insertions, 10 deletions
diff --git a/test2.lang b/test2.lang
index 5da16baba..8f64f672b 100644
--- a/test2.lang
+++ b/test2.lang
@@ -1,4 +1,5 @@
(import java.lang.System)
+(require "./another" as another)
(ann-class java.lang.String)
@@ -19,16 +20,7 @@
(def sample (#Tag "value"))
-## (ann id #type (All [x] (-> [x] x)))
-(def (id x)
- x)
-
-#( (def (id x)
- (let return "RETURN"
- return))
- )#
-
(def (main args)
(if true
- (_. (_.. System out) (println (id "TRUE")))
+ (_. (_.. System out) (println (another/id "YOLO")))
(_. (_.. System out) (println "FALSE"))))