> That said, I don't know many Java classes that have value-yielding semantics. 
> And if you are writing your own class, you can implement the IDeref interface.

There aren't many value-yielding semantics from many java classes, but
the ones I care about, do matter. Also, in my case, I'm adding value-
yielding semantics to classes that didn't originally have such things.

I'm not writing my own new java class. If I were writing something
that I wanted to extend to an interface, making types with defrecord
and deftype do that nicely for me.

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