mbohun
4/30/2017 - 5:43 AM

clojure test

clojure test

(java.lang.System/out/println "hello")       

(java.lang.System/out.println "hello")

(java.lang.System/out/.println "hello")

(.println (java.lang.System/out) "hello")
user=> (java.lang.System/out/println "hello")       
CompilerException java.lang.IllegalArgumentException: No matching method: println, compiling:(NO_SOURCE_PATH:9:1) 
user=> (java.lang.System/out.println "hello")
CompilerException java.lang.IllegalArgumentException: No matching method: out.println, compiling:(NO_SOURCE_PATH:10:1) 
user=> (java.lang.System/out/.println "hello")
CompilerException java.lang.IllegalArgumentException: No matching method: .println, compiling:(NO_SOURCE_PATH:11:1) 
user=> (.println (java.lang.System/out) "hello")
hello
nil
user=>