diff options
Diffstat (limited to 'test2.lang')
-rw-r--r-- | test2.lang | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test2.lang b/test2.lang index 58079e172..e52e667d7 100644 --- a/test2.lang +++ b/test2.lang @@ -16,6 +16,10 @@ (definterface Function (: apply (-> [java.lang.Object] java.lang.Object))) +(defclass Tuple0 []) +(defclass Tuple1 [[java.lang.Object _0]]) +(defclass Tuple2 [[java.lang.Object _0] [java.lang.Object _1]]) + (def const "IDENTITY") (def sample (#Tag "value")) @@ -25,5 +29,5 @@ (def (main args) (if true - (_. (_.. System out) (println (constant "TRUE" "YOLO"))) + (_. (_.. System out) (println ["TRUE" "YOLO"])) (_. (_.. System out) (println "FALSE")))) |