aboutsummaryrefslogtreecommitdiff
path: root/test2.lang
diff options
context:
space:
mode:
authorEduardo Julian2014-12-14 17:24:51 -0400
committerEduardo Julian2014-12-14 17:24:51 -0400
commit8e00142b18d06dfb93f3ee34aa7d28b7618b5393 (patch)
tree2d8c1d61175a1918517dc56d3aad75dd4f3a1bbc /test2.lang
parenta2faef20e0646a74dca82a0508a9892a8acc32f0 (diff)
Added module imports.
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"))))