On Aug 14, 9:07 am, Kevin Downey <redc...@gmail.com> wrote: > so clients don't directly call the protocol functions they call > print-ast which then checks to see if PrettyPrintable has been > extended to the object and falls back to the default if it hasn't
Sure, but I'm talking about publishing protocols that clients implement, not an API that might make use of protocols internally. If the clients implement *and* call methods via protocols, then that kind of approach doesn't really work. -- 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