On Jul 25, 5:23 pm, Stuart Sierra <
the.stuart.sie...@gmail.com> wrote:
> I think implementing the Java Collections sub-interfaces (List, Set,
> Map) is a good idea for Java interoperability, even if they have to be
> read-only.
>
I've made vectors implement List and sets Set. List is a very poor
match for non-indexed sequences.
As far as Maps, unfortunately the collection API design precludes a
class implementing both Collection and Map (conflicting remove
signatures). All Clojure collections implement Collection. Making maps
implement Map would be a breaking change.
Rich