I'd personally say, change it. As long as it still changes the original series, my code won't be messed up, but any new stuff might be easier.
(I feel like an idiot - I never thought of using 'head !) ----- Original Message ----- From: "Carl" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 16, 2004 2:01 PM Subject: [REBOL] head reverse annoys me > > 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.
