Comments on: Results of REVERSE Function Survey
REBOL Technologies

Comments on: Results of REVERSE Function Survey

Carl Sassenrath, CTO
REBOL Technologies

Article #0070
Main page || Index || Prior Article [0069] || Next Article [0071] || Post Comments || Send feedback

Thanks for all your feedback on the REVERSE function (about making it simpler). The change will be made in the next build. From what we know the change is not likely to affect any code because everyone writes the idiom HEAD REVERSE.

Of course, the new function won't be exactly the same as that, as it will keep the current index position. Here are examples:

>> probe reverse [1 2 3]
== [3 2 1]

>> probe reverse next [1 2 3]
== [3 2]

>> probe reverse/part [1 2 3] 2
== [2 1 3]

Reversing of non-series values such as pairs will not be affected by this change.

Post Comments

Post a Comment:

You can post a comment here. Keep it on-topic.


Blog id:



 Note: HTML tags allowed for: b i u li ol ul font p br pre tt blockquote

This is a technical blog related to the above topic. We reserve the right to remove comments that are off-topic, irrelevant links, advertisements, spams, personal attacks, politics, religion, etc.

Updated 8-Aug-2020   -   Copyright Carl Sassenrath   -   WWW.REBOL.COM   -   Edit   -   Blogger Source Code