Didn't you see that I pasted my sample from the repl?

Here it goes again; pay attention:

Last login: Thu May 24 07:21:38 on console
~ $ clj
Clojure 1.4.0
user=> (defn f [^java.awt.image.BufferedImage bi x] 
>   (.setData (.getRaster bi) 0 0 0 ^double x)) 
#'user/f
user=> 
~ $ 



On Wednesday, May 23, 2012 10:53:15 PM UTC-7, Cedric Greevey wrote:
>
> On Wed, May 23, 2012 at 10:21 PM, Armando Blancas <abm221...@gmail.com> 
> wrote: 
> > Is this any better? 
> > 
> > user=> (defn f [^java.awt.image.BufferedImage bi x] 
> >   (.setData (.getRaster bi) 0 0 0 ^double x)) 
> > #'user/f 
>
> Didn't have a repl handy? It's quick to check that it produces: 
>
> Reflection warning, NO_SOURCE_PATH:2 - call to setData can't be resolved. 
>

-- 
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