Works for me. Thanks!

On Thu, Oct 1, 2009 at 1:24 AM, David Miller <dmiller2...@gmail.com> wrote:

>
> Should be fixed in the latest commit.
> Any of the following will work.
>
>
> (System.Reflection.Assembly/Load "WindowsBase, Version=3.0.0.0,
> Culture=neutral, PublicKeyToken=31bf3856ad364e35")
> (import '(System.Windows.Media Matrix))
> (defn b [m] (doto m (.Scale 2.0 3.0)))
> (defn a1 [] (b (Matrix.)))
> (defn a2 [] (doto (Matrix.) (.Scale 2.0 3.0)))
> (defn a3 [] (let [m (Matrix.)] (doto m (.Scale 2.0 3.0))))
> (defn a4 [] (let [m (Matrix.)] (doto m (.Scale 2.0 3.0)) m))
> (defn a5 [] (let [m (Matrix.)] (.Scale m 2.0 3.0) m))
> (defn a6 [] (let [m (Matrix.)] (. m (Scale 2.0 3.0)) m))
> (defn a7 [] (let [#^Matrix m (Matrix.)] (. m (Scale 2.0 3.0)) m))
> (def a (Matrix.))
> (defn a8 [] (let [ m a] (. m (Scale 2.0 3.0)) m))
> (defn a9 [] (let [#^Matrix m a] (. m (Scale 2.0 3.0)) m))
>
>
> -David
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to