tonsky/datascript — pull request #42 by montyxcantsin (2014-11-24 11:34:50+00:00)
Title: adding missing aggregate fns (avg, median, variance and stddev)

I would have done these each in their own commit but there was enough mutual dependance (thus the refactor to a letfn) that it seemed appropriate to do it in one commit.