On Wed, May 23, 2012 at 3:03 PM, Manuel Gomez wrote:
> This is my function so far:
>
> reduce_slice(WList,{Page,PageSize}) ->
> lager:info("Page and PageSize ~p - ~p",[Page,PageSize]),
> lists:sublist(WList, Page, PageSize).
>
>
> This "works". The problem is that because the reduce phase gets
I need to write a a reduce_slice function in erlang that I'll load into
riak, I'm doing this so I don't need to use the javascript one which has
already once maxed out the js_thread_stack memory.
This is my function so far:
reduce_slice(WList,{Page,PageSize}) ->
lager:info("Page and PageSize ~