On Mon, 13 Dec 2010 09:47:39 -0500
"Steven Schveighoffer" <[email protected]> wrote:

> What's wrong with using opApply?  You should be able to define both range  
> primitives and opApply and opApply will be used when foreach is used, and  
> the range primitives will be used by things like std.algorithm.

Hope opApply would take precedence for iteration. I like range interface for 
its integration with other language features, like funcs from std.algorithm 
precisely. May end up using both (if works properly -- i have other issues with 
ranges).

Denis
-- -- -- -- -- -- --
vit esse estrany ☣

spir.wikidot.com

Reply via email to