I'd be a little nervous that new devs might get the impression that maps 
are always sorted....

(I'm not necessarily opposed to the idea though)

On Monday, February 13, 2017 at 9:31:31 PM UTC-8, Paul Schoenfelder wrote:
>
> +1 from me!
>
> On Mon, Feb 13, 2017 at 4:49 PM, Eric Meadows-Jönsson <
> [email protected] <javascript:>> wrote:
>
>> Currently struct and map keys are in indeterminate order when they are 
>> inspected. Due to implementation details in the VM maps that have <32 keys 
>> are in term order but for larger maps and structs the order is random.
>>
>> I propose always sorting the map keys when they are inspected so that 
>> it's easier to read and scan the results.
>>
>> -- 
>> Eric Meadows-Jönsson
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "elixir-lang-core" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/elixir-lang-core/CAM_eapis0_a16Z6HqptYtc2ekCQ46-eh_uzHZtQYkfQ1yHE%2B2g%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/elixir-lang-core/CAM_eapis0_a16Z6HqptYtc2ekCQ46-eh_uzHZtQYkfQ1yHE%2B2g%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/2d64f24b-df25-4644-acd6-f5d5633ea720%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to