As @aklein mentioned, there doesn't seem to be much sense in reversing a Set.
For the other suggested use case, as an iterator prototype method, how would it be possible to have a general .reverse()? (i.e. you can't buffer all the values since if may be infinite).
As @aklein mentioned, there doesn't seem to be much sense in reversing a Set.
For the other suggested use case, as an iterator prototype method, how would it be possible to have a general
.reverse()? (i.e. you can't buffer all the values since if may be infinite).