On Mon, Nov 24, 2008 at 7:24 AM, JonathanMeeks <[EMAIL PROTECTED]> wrote:
>
> If this is the incorrect forum to post this please point me in the
> correct direction...
>
> On http://clojure.org/jvm_hosted
>
> The celsius defn has a doto with incorrect syntax.  Shouldn't
>
> (doto frame
>               (setLayout (new GridLayout 2 2 3 3))
>               ...)
> be
>
> (doto frame
>               (.setLayout (new GridLayout 2 2 3 3))
>               ...)
>
> Note the missing dot in the former setLayout. I'm new to clojure, so I
> may well not understand something.

The syntax for doto has recently (in the last week or so) changed to
require the dot.  The Clojure release from September will work without
the dot (and will not work with the dot.)

i.e. the documentation needs to be updated.

-- 
Michael Wood <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to