So will deftype/protocol be the recommended, idiomatic way to
implement ADTs in Clojure 1.2? Will the current map/struct based
approaches essentially be deprecated?

The doc here http://www.assembla.com/wiki/show/clojure/Datatypes
suggested to me that they were more for interfacing with Java in a
more efficient manner?

On Mar 20, 10:07 am, Stuart Halloway <stuart.hallo...@gmail.com>
wrote:
> This will change in Clojure 1.2, with defstruct superseded by deftype,  
> and with capitalization for defprotocols and deftypes. You might want  
> to compare this Clojure example:

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

To unsubscribe from this group, send email to 
clojure+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to