Hi Meikel, Meikel Brandmeyer wrote: > SinDoc wrote: >> I was wondering if someone could point me to recent usage examples of >> deftype, defrecord, and reify. Reading [1] helped a lot but it wasn't >> particularly easy to find it since it's not linked from the sidebar. >> >> Specifically, what I'd like to know is: >> >> - How to define and access member data fields -also mutable in case >> of deftype- to my ADTs. >> - Whether I can refer to type instances -an equivalent to the 'this' >> keyword in Java. >> - How to define constructors. > > The modified memoize sparked some examples for this: > http://kotka.de/blog/2010/03/memoize_done_right.html#protocols
Thank you for the link, Meikel. It's very well-written. Kind regards, SinDoc -- 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