[Haskell-cafe] Acquiring a random set of a specific size (w/o dups) from a range of Ints

michael rice nowgate at yahoo.com
Tue Jun 14 01:56:31 CEST 2011


Is there an (existing) way to select 5 Ints randomly (no duplicates) from a population, say 1-20 (inclusive)?
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110613/41222378/attachment.htm>


More information about the Haskell-Cafe mailing list