<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, May 9, 2016 at 2:54 PM, zxq9 <span dir="ltr"><<a href="mailto:zxq9@zxq9.com" target="_blank">zxq9@zxq9.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
</span>That's my whole point. Why the desire for a next/1 and previous/1 instead of<br>
a list-style operation over the map as a whole, since outside of an abstract<br>
sense of "doing something with each element" there is nothing interesting<br>
that can possibly be gained from introducing an implicit concept of order?<br></blockquote><div><br></div><div>For one thing Mr. Virding needs them to implement his lua erlang language thing :) We also could make great use of them in the standard libraries to build efficient variants of maps:fold and friends.</div><div><br></div><div>I'm sure there are usecases that we have not seen yet that will come up. I've learned over the years that people never use the API:s you create the way to expect them to be used and always come up with the strangest and cleverest ways of doing things. </div></div></div></div>