I have also been annoyed by this. I know that I have used the result of reverse a time or two so it would undoubtedly break some of my code but it shouldn't break too much code. I vote that you fix it. ;-)
Enjoy!! ~~Ammon ;~> On Thu, 16 Dec 2004 12:01:21 -0800, Carl <[EMAIL PROTECTED]> wrote: > > I'm not sure if anyone has been annoyed by REVERSE returning > the tail position. I know I have. Everywhere I see REVERSE used > like this: ... head reverse foo. > > It's my fault. I defined REVERSE like this for the same reason I defined > INSERT and other series functions to do the same: to not lose "information" > (in other words to preserve the ending location). But, that feature is rarely, > if ever, used (in REVERSE that is). > > I'm inclined to change it to return the starting location, but I thought it > might > be good to discuss this openly. Will such a change break existing code? > It could, if anyone uses the result of REVERSE. But, that would surprise me. > I've never used it in "millions" of lines of code. (That's like dog years.) > > It's a small thing, but I don't like new users to get annoyed with stuff > like this. > > "Say the word, and it will be done by sundown today." > > -Carl > > -- > To unsubscribe from the list, just send an email to rebol-request > at rebol.com with unsubscribe as the subject. > > -- Enjoy!! ~~~ Ammon ~~~ ~ Sui Generis ~ ~~~~ ;~> ~~~~ -- To unsubscribe from the list, just send an email to rebol-request at rebol.com with unsubscribe as the subject.
