I assumed that using reverse or nreverse at the end of the function might introduce unwanted overhead, which is why I produce this "fix".
I sometimes parse some item listings, such as TOC of a book in xml, it would be much more convenient that the order is preserved as is.
This could potentially be a breaking change, but I would suggest that this would be more beneficial than being a breaking change, for those that relies on the nature that this function would return items in reversed order.
There has been a issue address this https://github.com/Shinmera/plump/issues/22, but it lacks a solution.
proposed fix:
reason for a fix:
I assumed that using
reverse
ornreverse
at the end of the function might introduce unwanted overhead, which is why I produce this "fix".I sometimes parse some item listings, such as TOC of a book in xml, it would be much more convenient that the order is preserved as is.
This could potentially be a breaking change, but I would suggest that this would be more beneficial than being a breaking change, for those that relies on the nature that this function would return items in reversed order.