On Tue, Aug 8, 2017 at 9:06 AM <[email protected]> wrote:
> Sort.Search is nice, but then the list has to be sorted.
Then it's a simple for range loop.
> So why not come up with
>
> func findFirst(slice interface{}, matches func(i int
<https://golang.org/pkg/builtin/#int>) bool
<https://golang.org/pkg/builtin/#bool>)
I hope this never happens, but the standard approach is to fill a
'proposal: foo' at the issue tracker.
--
-j
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.