https://issues.dlang.org/show_bug.cgi?id=12592
Seb <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #3 from Seb <[email protected]> --- We have group and filter, e.g. --- import std.stdio; void main() { import std.algorithm; immutable data = [10, 3, 2, 3, 4, 10]; assert(data.dup.sort.release.group.map!(a => a[0]).equal([2, 3, 4, 10])); } --- https://run.dlang.io/is/eBLeSa Closing as WORKSFORME. Plese reopen if you feel that filter and group don't work for or you have more arguments or examples. --
