Can someone please explain to me why the following doesn’t work:

slices.SortFunc(ilps, func(u, w *big.Int) int { return u.Cmp(w) })

I get:
slices.SortFunc(ilps, (func(u, w *big.Int) int literal)) (no value) used as 
value

Much appreciated!

Regards,
Pete

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/C79BE208-23D9-4E22-A0EE-C98395170D2E%40gmail.com.

Reply via email to