Given this:
[
("A","A122");
("A","A123");
("B","B122");
("B","B123");
("C","C122");
]
Is there a standard function to get this?
[
("A",["A122";"A123"]);
("B",["B122";"B123"]);
("C",["C122"])
]
I thought of Seq.distinctBy, List.partition, Set, Map, but none of them seem to be what I'm looking for.
Thanks... while I'm waiting, I'll try to roll my own :)