http://jafingerhut.github.com

Note that the doc strings in the tooltips, for those versions of the cheat 
sheet with tooltips, are from Clojure 1.5.  While most doc strings remained the 
same from Clojure 1.4 to 1.5, a few have changed, and reflect new behavior in 
Clojure 1.5 that you cannot rely on in earlier Clojure versions.  For example, 
the functions hash-set, sorted-set, sorted-set-by, hash-map, array-map, and 
sorted-map, which in Clojure 1.5 are documented to gracefully accept duplicate 
elements/keys, whereas in earlier Clojure versions some of those would throw 
exceptions in that situation.

Any links for symbols new in Clojure 1.4 or 1.5 are to their documentation on 
Github, whereas for the symbols that existed in Clojure 1.3 (most of them), the 
links are to ClojureDocs.org, containing examples.  I can change that if/when 
ClojureDocs.org adds the symbols new in Clojure 1.4 and 1.5.  It doesn't have 
them yet.

I've added the following symbols that are new in Clojure 1.5.  They occur after 
a "(1.5)" label on the cheat sheet, just as symbols new in Clojure 1.4 occur 
after a "(1.4)" label.

    clojure.string/re-quote-replacement in Strings/Use and Strings/Regex 
sections

    *default-data-reader-fn* in Data Readers section, now moved into the IO 
section where it better belongs

    as-> cond-> cond->> some-> some->> in the Functions/Call and Macros/Arrange 
sections, where -> and ->> are.

    send-via set-agent-send-executor! set-agent-send-off-executor! in the 
Concurrency/Agents and Asynchronous Actions section, where send and send-off 
are.


I haven't yet added any symbols for the new reducers in namespace 
clojure.core.reducers.  I'm open to suggestions on where to put those, if 
anyone has any thoughts on the matter.  Comments and suggestions are welcome on 
the rest of the contents, too.

Andy

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to