Dave Whipp wrote: > Moritz Lenz wrote: >> Dave Whipp wrote: >>> for 0..10 -> $x { ... } >>> is treated as >>> for (0...10).pick(*) -> $x { ... } >> >> Sorry, I have to ask. Are you serious? Really? > > Ah, to reply, or not to reply, to rhetorical sarcasm ... In this case, I > think I will:
No sarcasm involved, just curiosity. > Was my specific proposal entirely serious: only in that it was an > attempt to broaden the box for the discussion of semantics of coercion > ranges. I fear what Perl 6 needs is not to broaden the range of discussion even further, but to narrow it down to the essential points. Personal opinion only. > Why do we assume that ranges iterate in .succ order -- or even that they > iterate as integers (and are finite). Why not iterate as a top-down > breadth-first generation of a Cantor set? That's easy: Principle of least surprise. Cheers. Moritz