Rich,

Very helpful, as always. Alias + the ability to pull in symbols names  
via refer was exactly what I was looking for.

One scenario still worries me:

1. I create a multimethod that dispatches around a tag whose value is  
an unresolved keyword (:Foo instead of ::Foo). Everything works fine.

2. If at some later point I want the dispatch to depend on (derive),  
it is breaking change for clients to switch to from :Foo  to ::Foo.

I am tempted to conclude that you should never use unqualified  
keywords as type tags, because you are exposing an implementation  
detail. That is, the implementation promises not to rely on derive.

Cheers,
Stuart


--~--~---------~--~----~------------~-------~--~----~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to