On Tue, Aug 8, 2017 at 9:06 AM <martin.r...@programmfabrik.de> 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

I hope this never happens, but the standard approach is to fill a
'proposal: foo' at the issue tracker.



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 golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to