[Haskell] Random selection

Vincenzo Ciancia vincenzo_mlRE.MOVE at yahoo.it
Wed Oct 6 11:25:07 EDT 2004


On Wednesday 06 October 2004 17:18, ldou wrote:
> I have a string,e.g. "1245670398", now I want to select two
> element from the string randomly, and the two element must
> be different, how can I do?

Have a look at the Random module from the standard libraries.

V.


More information about the Haskell mailing list