Darren New <dne### [at] sanrrcom> wrote:
> fold goes from yadda.begin() to yadda.end(). If you don't want to do
> that, use a different function. Or write it more iteratively, so to
> speak. Think about your C++ implementation of fold - you would have to
> copy the list there too if you wanted to use that on a subset.
Or I could simply make an overloaded version of the fold function which
takes an iterator range.
--
- Warp
Post a reply to this message
|