Hi,

> But assume I wanto to provide two implementations for such an
> interface, in two separate namespaces.

Personally, I'd define multimethods as the “interface“, in a single
namespace, and implement them for any set of data structures that I
wanted to support.

At least, this is the CLOS way, so to speak (CLOS = the Common Lisp
Object System).  Which, by the way, means that when you say,

> In standard Lisps, everything would be represented by cons nodes, with
> little to no abstraction

you're wrong.  Thank God! :)

(Note: As I'm not yet very familiar with idiomatic Clojure style and
(at least for the time being) much more of a Common Lisper, I'd
suggest sticking to what the others say if in any doubt.  My posting
is to be read merely as a hint, not as a recommendation.)

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