> Well, ok. But I would call “Shuffle” a misleading misnomer, because until the > user defines a shuffler function (which perversely might not, or might fail > to, shuffle anything), it does not shuffle anything.
how would you implement shuffle in golang so that it's not a misleading misnomer? i would presume that you would give Shuffle a slice and expect it to return it shuffled? but then if the slice is empty, Shuffle has still not shuffled anything :) -- 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.