"Marker interface" is the right idea (and I did in fact look it up in 
Wikipedia last night :-)), but I was trying to avoid saying that. What my 
stuff is doing is arguably a little different: a Java analogy would be 
something like defining a new interface that's a composite of several other 
interfaces. This feels slightly (maybe very slightly) more elevated than 
simply annotating a class, which is more or less how I'd say marker 
interfaces tend to be used. It all comes to the same thing in the end, 
though. Point is, zero-method protocols are occasionally a useful tool.

-- Howard

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
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