As I mentioned on the linked PR, I’m in favor of such feature. I like how Clojure calls this function: frequencies. Thus if we are considering Enum.frequencies/1 and/or Enum.frequencies/2, it has my vote.
To move the proposal forward I think it would be very valuable if you could survey other programming languages to see if they have such feature and if so - under what function name. -- 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/1ACBE99E-BE36-4035-991C-9BD03651048C%40wojtekmach.pl.