History of Idiom 11 > diff from v66 to v67
Edit summary for version 67 by hrschueler:
[Scala] Comments in the comments, not the code.
[Scala] Comments in the comments, not the code.
↷
Version 66
2018-04-17, 16:49:18
Version 67
2018-04-17, 16:50:12
Idiom #11 Pick a random element from a list
List x must be non-empty.
Idiom #11 Pick a random element from a list
List x must be non-empty.
Comments bubble
x(Random.nextInt(x.size))