Dne 14.3.2017 v 16:02 Russel Winder via Digitalmars-d-learn napsal(a):

I am having a hard time Google-ing today. Pytho, Groovy, Kotlin, etc.
have a "groupBy" function that takes a sequence and a key and creates a
dictionary/associative array with keys the result of the key function
on the sequence and key values all the items that match the key.

D doesn't seem to have such a function directly. Unless I missed it…
Can you post some example? Maybe in python, kotlin whatever so I can better understand what you want

Reply via email to