On Sat, Nov 07, 2009 at 11:48:32AM -0500, Chouser wrote:

>This should work:
>
>    (defn update1 [#^MessageDigest md, #^bytes item]
>      (.update md item))

This does seem to work, thanks.

Any reason that 'doubles' is also defined as an array cast function,
but 'bytes' is not?

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