[REBOL] Re: head reverse annoys me
From: lmecir:mbox:vol:cz at: 17-Dec-2004 8:02
<Sunanda>
Typically something like:
if user-display-option = "earliest first" [
data: head reverse data
]
foreach item data [ .... ]
Sadly, all that code would break.
</Sunanda>
<Sunanda>
Found a few more examples -- none of them my code.
make-dir -- in the current live version of REBOL (not in later betas)
dragdrop.r -- one of the prototype new styles in IOS/Developer
alerts.r -- one of Allen Kamp's utilities in IOS/Developer
</Sunanda>
<Ammon>
>Head Reverse isn't what you should be looking for to see if it is
>going to break anything...
>
>>>head head reverse "123"
>>>
>>>
>== "321"
>
>The only scripts it is going to break are the ones that use Reverse
>WITHOUT Head...
>
</Ammon>
<James>
A simple find/replace for "head reverse" to "reverse'" would fix those
scripts.
</James>
<Ladislav>
I vote *for* the change. As Ammon said, none of the examples will break,
neither it can affect any of my code.
</Ladislav>