News for hackers. Stuff that matters.
Re:Go proposal: new package to provide generic slice functions by frou_dh on Wednesday May 05, 2021 @09:20AM (#27049467)
> Even C provides sort with a function pointer for compare...

That's been in non-generic Go for a while (passing a closure for sorting): https://golang.org/pkg/sort/#Slice

There are no comments on this comment yet.