michaelklishin/monger — pull request #3 by ifesdjeen (2011-11-07 23:14:39+00:00)
Title: Adding operators DSL in order to use Clojure functions instead of hashes.

Adding operators DSL in order to use Clojure functions instead of hashes.
Casbah has a similar concept called Bareword Operators.
Korma uses operators a bit differently, but idea is quite same, too.

One of the obvious advantages is that you can make sure you didn't screw make a typo
in operator name during compile-time. Plus, we can guarantee that there is a subset
of used / supported operators, and add them gradually, keeping track of them in one place,
which will simplify tests, too.