On Sun, Nov 22, 2009 at 08:40:42PM +0100, Christophe Grand wrote:

>(defn foo [#^FileChannel chan, bufs]
>    (.write chan #^"[Ljava.nio.ByteBuffer;" (to-array bufs)))

Excellent, it was the quotes I was missing.  Nice to know I can hint
any type.

Thanks,
David

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
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