Re: [go-nuts] Understanding the doc (why can't I?)

2018-10-15 Thread 1955neilh
Oh well! Bakul - thank you for that little bit of affirmation. I feel better now :-) > The current Shuffle is confusing. May be because it has a somewhat clumsy interface. > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe fr

[go-nuts] Understanding the doc (why can't I?)

2018-10-15 Thread 1955neilh
*Here's the doc for shuffle in math/random*: func Shuffle(n int , swap func(i, j int )) Shuffle pseudo-randomizes the order of elements using the default Source. n is the number of elements. Shuffle panics if n < 0. swap