reiddraper/sumo — Issue #9: add map/reduce support
Author: reiddraper
Created: 2011-12-31 18:43:13+00:00
State: open

Usage might look like

```clojure
; map reduce calls start with an input, then
; a vector of map or reduce funcs
(mapreduce conn (:index :age 21 80)
[(:map-js "function (obj) {...}")
(:reduce-builtin "reduce_sort")]))
```

Some ideas for differentiating lang/phase-type

```clojure

; named funcs
(map/js "func")
(reduce/js "func")

; keywords
(:map-js "function () {...}")
(:reduce-builtin "reduce_sort")

; hash
{:lang :js :type :map :src "function () {...}"}
```