Results of REVERSE Function Survey
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.
Updated 25-May-2023 - Copyright Carl Sassenrath - WWW.REBOL.COM - Edit - Blogger Source Code