>From a functionality standpoint, group_by will produce a map of lists of
duplicates and then you can map over it and process each list of duplicates.

The question then is whether there is a performance optimization available
that cannot be accomplished via composition.

On Wed, Jun 22, 2016 at 1:37 PM Bartosz Kalinowski <kelostr...@gmail.com>
wrote:

> I can perfectly understand being conservative about new features and I
> don't mind if this doesn't get accepted because of that. Although your
> example is a bit different. To be honest, what I tried to achieve felt like
> a natural extension of Enum.uniq and when I discovered it's not possible to
> do what I needed I was a bit dissapointed. Your example of this
> RunLengthEncoder is not really the same case. The solution to the quiz
> depends on the fact that the letters need to be one after the other and
> Enum.merge which I suggest takes into account every element of the list.
>
> --
> 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 elixir-lang-core+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elixir-lang-core/ede59498-9bd5-4e94-afd3-6333da85fa2a%40googlegroups.com
> <https://groups.google.com/d/msgid/elixir-lang-core/ede59498-9bd5-4e94-afd3-6333da85fa2a%40googlegroups.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 elixir-lang-core+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/CAOMhEnxQ%3DubVdEYc1Rr61XPtYHw%3DyXZCM8LN_H1UocFRG6vu6A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to