Alex Miller not only organizes conferences that are a blast to attend (i.e. Clojure/West, and I'm inclined to believe Strange Loop would be cool, too), he also puts up new versions of the Clojure cheatsheet when I ask him nicely. Here it is, in the usual place:
http://clojure.org/cheatsheet Listed below are things that have changed since the version first published in late February. A couple of the changes I list for cheatsheet version 1.3 weren't in the previously published version, simply because I wasn't very fastidious about keeping my version numbers straight. As before, most of the links go to the documentation on clojuredocs.org, which include not only the official built-in documentation, but also user-contributed examples and "see alsos". Anyone willing to create a free ClojureDocs account and write more examples is welcome to do so. If anyone has suggestions for what you would like to see added to the cheatsheet, especially _specific_ suggestions, feel free to send me email. I'm especially interested in a short sweet example of extend-protocol in the style of the examples already on the sheet, any good links you would recommend to teach people how and when to use zippers, and a good tutorial on how to parse, extract data from, modify, and generate XML in Clojure. Andy ---------------------------------------------------------------------- March 22, 2012 - Clojure 1.3.0, sheet v1.4 Added (tutorial) entries in Namespace/Create and Loading/Load Libs sections that link to this nice article: http://blog.8thlight.com/colin-jones/2010/12/05/clojure-libs-and-namespaces-require-use-import-and-ns.html Added links to more details on regular expressions in the Strings/Regex section: http://www.regular-expressions.info http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html Added to Strings section: java.lang.String (abbreviated String in PDF version to fit better) .indexOf .lastIndexOf, with links to java.lang.String doc page. Added to Collections/Lists and Vectors sections: .indexOf and .lastIndexOf, with links to similar methods documented for java.util.Vector. Changed heading Destructuring in Special Forms section to "Binding Forms / Destructuring", for people who might know it by one name but not the other. Added to Maps/Create: group-by Added to IO/from reader: read Added Numbers/Literals section with examples of literal syntax for BigInt, Ratio, and BigDecimal. Removed :doc from Metadata/Common section and added :const instead. Doc strings are more commonly handled with the normal way to put them in def or defn forms. ---------------------------------------------------------------------- 2012 Feb 23 - Clojure 1.3.0, sheet v1.3 Added new section Destructuring, with a link to a page containing examples on clojure.org, and a list of the most commonly-used macros that allow destructuring to be used within them. Added biginteger, clojure.java.io/file and copy, and link to fs project on GitHub for file manipulation functions. -- 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