Carl:

> 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.

Annoying? Yes..

But used? Yes  -- quite commonly.

I've scanned a pile of code and found it on several occasions.

Typically something like:

if user-display-option = "earliest first" [
   data: head reverse data
   ]
foreach item data [ .... ]

Sadly, all that code would break.

How about a related word?

 invert: func [item] [head reverse item]

Sunanda
-- 
To unsubscribe from the list, just send an email to rebol-request
at rebol.com with unsubscribe as the subject.

Reply via email to