On Sat, Nov 28, 2009 at 7:38 PM, Adam Kocoloski <[email protected]> wrote: > On Nov 24, 2009, at 2:59 PM, Paul Davis wrote: > >> Or using the standard row count reduce: >> >> function(keys, values, rereduce) { >> if(rereduce) return sum(values); >> return values.length; >> } >> >> It occurs to me that we should add a _row_count Erlang reduce function >> as its slightly different than _sum. > > Hi Paul, it occurred to someone else, too: "_count" is already a built-in, > defined as above. Best, > > Adam
Well played.
