History of Idiom 69 > diff from v12 to v13
Edit summary for version 13 by :
↷
Version 12
2015-08-21, 23:34:59
Version 13
2015-08-21, 23:35:13
Idiom #69 Seed random generator
Use seed s to initialize a random generator.
If s is constant, the generator output will be the same each time the program runs. If s is based on the current value of the system clock, the generator output will be different each time.
Idiom #69 Seed random generator
Use seed s to initialize a random generator.
If s is constant, the generator output will be the same each time the program runs. If s is based on the current value of the system clock, the generator output will be different each time.
Comments bubble
r is of type *rand.Rand.
Comments bubble
r is of type *rand.Rand.