On 2010 Apr 28, at 4:31 PM, Stuart Halloway wrote:
After review, several seq functions from clojure-contrib have been
promoted to clojure [1], [2], [3]. Hopefully the FAQ below will
answer the major questions you may have:
Cool!
3. Why did some of the fn names change?
...Similarly, includes? became seq-contains? to make clear that the
fn must walk the sequence. Avoid seq-contains? when you have a set
or map!
Wait, what? Why should seq-contains? be slower than contains? Isn't
this exactly the kind of thing that protocols are supposed to be
solving? Your nice video showed that very thing, right?
6. Why did this break my project?
Hopefully it doesn't. But, it seems that a lot of people are
tracking their apps (via leiningen or maven) to build snapshots of
both Clojure and Contrib. This is a risky development practice,
particularly in the case of Contrib. As a community, we need to
develop a saner way to stay near the edge without being right on it.
Indeed. Tracking the bleeding edge is always dicey... :-(
Thanks!
-Doug
--
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