[erlang-questions] maps:keys/1, values/1 stability?

Kevin Montuori montuori@REDACTED
Fri Dec 11 19:35:06 CET 2015

Hi All --

The maps documenation indicates that keys/1 and values/1 will return
results in arbitrary order, which makes sense.  I'm wondering if they'll
return in the *same* arbitrary order.  In other words, is this assertion
always correct?

  M = maps:from_list(lists:zip(maps:keys(M), maps:values(M))).

Thanks for any insight.


  Kevin Montuori

More information about the erlang-questions mailing list