On Mon, May 21, 2012 at 4:53 AM, nicolas.o...@gmail.com < nicolas.o...@gmail.com> wrote:
> > ClojureScript? The work is done. It's all protocols. > > > Hi David, > > I just have. This is a nice work. There is a lot of repetitions though. > For example: > - IEquiv > (-equiv [coll other] (equiv-sequential coll other)) > > - IHash > (-hash [coll] (caching-hash coll hash-coll __hash)) > (where caching-hash has to be a macro) > > - ICounted > (-count [coll] count) > > - ILookup > (-lookup [coll k] (-nth coll k nil)) > (-lookup [coll k not-found] (-nth coll k not-found)) > And now any of those implementations can easily change at anytime without any external considerations. So what's the problem? David -- 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