I've created a modified version of the cheatsheet, including PDF files with
clickable links, here:

http://homepage.mac.com/jafingerhut/files/cheatsheet-2.0.html

There is a list of changes made, including the one you mention, Stuart, and
some others regarding transients that had been suggested a while back by
Mark Engelberg.

If the clojure.org maintainers like the changes, I've also generated HTML
that is similar in form to the last time I generated the HTML with clickable
links about 6 months ago.  It is available on the page above, too.

Andy

On Mon, Sep 5, 2011 at 11:21 AM, Stuart Sierra
<the.stuart.sie...@gmail.com>wrote:

> Hi folks, just looking at the Clojure Cheat Sheet
> http://clojure.org/cheatsheet
>
> The `contains?` function is under "Collections -> Collections -> Content
> tests." That implies that it's testing the values of the collection, which
> it doesn't exactly do, a frequent source of confusion.
>
> My suggestion: leave `contains?` in the "Collections -> Maps" section, add
> it to "Collections -> Sets", but remove it from "Collections -> Content
> tests"
>
> Technically, `contains?` also works on vectors, but it's rarely useful that
> way.
>
> Stuart Sierra
> clojure.com
>
> --
> 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

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

Reply via email to