I put together my slides (pdf) for next week’s National Capital Area Clojure Users Group February Meetup. Being snow-bound this week, I’ve been able to make more slides than I’ll have time to cover during next week’s session, so I’ll be skimming over some of the examples.
Russ Olsen will start the session with an introduction to Clojure, so if you’re in the D.C. area next Thursday (February 18), sign-up for the meetup.
The code used in this presentation is available here, and a more printer-friendly version of the presentation itself, with a white background, is available here.
I think there’s an error on slide 20 in th eexample of conj-rows. It reads
(conj-rows [1 3 4] [4 5 6] [7 8 9])
but should be
(conj-rows [1 2 3] [4 5 6] [7 8 9])
Thanks for catching that, I’ve fixed my copy of the slides and I’ll upload them in a bit.
Should “mean” on slide 53 be “:mean” ?
I had to change it to “:mean” to get it to work for me.
Awesome features. $rollup is great.
You probably didn’t import incanter.stats, which is where the mean function lives.
You are pointing out a feature that I left out of the slides; the built-in rollup functions that can be used by providing a keyword argument (e.g. :mean, :sum, :min, :max) instead of an actual function.