On Wed, 30 Mar 2011 14:03:39 -0400, Andrej Mitrovic
<[email protected]> wrote:
On 3/30/11, spir <[email protected]> wrote:
On 03/30/2011 05:03 PM, Andrej Mitrovic wrote:
Doesn't opApply provide this?
Yes, but using opApply seems discouraged (scheduled for deprecation?).
Huh, when did this happen? It's nicely described in TDPL, why would it
go away?
It's not going away. It provides mechanisms that are impossible with
ranges. And it does not detract from ranges in general -- one can define
both opApply and a range interface. opApply is only for foreach, whereas
ranges can be used in any number of ways.
-Steve