tuple group_by into map #21
Labels
enhancement
New feature or request
help wanted
Extra attention is needed
technical
A technical issue that requires understanding of the code, infrastructure or dependencies
Suppose you have data in the form
[{"M1", "C1"}, {"M1", "C2"}, {"M2", "C3"}]
and you want a map "grouped by":[%{c: ["C2", "C1"], m: "M1"}, %{c: ["C3"], m: "M2"}]
A helper function (perhaps not optimum :)
The text was updated successfully, but these errors were encountered: