On Fri, Jul 16, 2010 at 1:14 PM, yary <not....@gmail.com> wrote: > There is one case where Rakudo's current output makes more sense then > your proposal, and that's when the sequence is analogous to a range of > numbers in another base, and you don't want to start at the equivalent > of '0000' or end up at the equivalent of '9999'.
If you want a range of numbers, you should be using numbers. Perl should absolutely not try to guess that you want codepoints to appear in your result set which were not either expressed in the input or fall between the range of any two corresponding input codepoints. > But that's a less > usual case and there's a workaround. Using your method & example, "Ab" > .. "Az", "Ba" .. "Be" would reproduce what Rakudo does now. > Quite true. > > In general, I like it. Though it does mean that the sequence generated > incrementing "Ab" repeatedly will diverge from "Ab" .. "Be" after 4 > iterations. > Also true, and I think that's a correct thing. -- Aaron Sherman Email or GTalk: a...@ajs.com http://www.ajs.com/~ajs