Reducers in newlisp?
Posted: Fri Aug 30, 2013 7:12 pm
Is it possible to have to have reducers in newlisp too as mentioned in this http://adambard.com/blog/Reducers-expla ... gh-Python/ ?
The key takeaway from the article is
The key takeaway from the article is
This is the idea behind reducers. If you take your mapping function (map, filter, flatten, etc.), and have it modify the reducing function, you can perform any number and combination of mappings without having to repeatedly iterate through the list.