Clojure doesn't know what to do with "System.out"; you need to express that as (. System out). Of course (.. System out (println "wtf")) is equivalent to (. (. System out) (println "wtf"))
I hope that helps. Bill On Nov 15, 7:27 pm, lsmith <[EMAIL PROTECTED]> wrote: > I've just started playing around with clojure, and can't quite make > out how the (. special form works. > > For example, > (. javax.swing.JOptionPane (showMessageDialog nil "Hello World")) > seems to work just fine, but > (. System.out (println "wtf")) > does not. Only (.. System out (println "wtf")) does what I want. > > Any idea what's going on? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---
