I'm assuming he means IO.inspect but I may be wrong.

On Wed, Feb 15, 2017 at 4:37 PM, Robert Virding <[email protected]> wrote:

> How do you mean "when they are inspected"? If you do it then all functions
> which step through the keys would have to be fixed and some like *fold* and
> *map* could be very difficult to implement in an efficient manner. If you
> don't do it for all then it is pointless.
>
> Robert
>
>
> On Monday, 13 February 2017 22:49:13 UTC+1, Eric Meadows-Jönsson 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 a topic in the
> Google Groups "elixir-lang-core" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/elixir-lang-core/Lc2fWthKQSM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/elixir-lang-core/5e3f4e37-bb6c-4688-bb86-
> 5d430e095726%40googlegroups.com
> <https://groups.google.com/d/msgid/elixir-lang-core/5e3f4e37-bb6c-4688-bb86-5d430e095726%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Onorio Catenacci

http://onor.io
http://www.google.com/+OnorioCatenacci

-- 
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/CAP%3DvNq9tR5CoHf2CPdCTXmOZ1L65pnYseze4ZxhHv7r7wB9c%3DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to