Hi Adrian,

Thanks for the explanations. Indeed I was assuming a protocol would
work like an interface, so I may just as well use definterface
directly.

To date, protocols confuse me a bit--I have no reference for it in my
head. I see how you use them like multimethods and that's very neat.
Thanks for showing how to use them.

It's a pity that definterface has to use "test_it" (note the
underscore), as you pointed out. I guess it has to do with
definterface having a note saying "for now, rely on gen-class" or some
such, in its declaration.

Albert

-- 
http://albert.rierol.net

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