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?
It's really irritating when people expect their homework to be done on line. It undermines the effectiveness of the mailing list by trying to take advantage of other people's good will. On Thu, 7 Oct 2004 01: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? _______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell
-- "It is clear our nation is reliant upon big foreign oil. More and more of our imports come from overseas." George W. Bush September 25, 2000 From a campaign speech delivered in Beaverton, Oregon.
participants (3)
-
ldou -
Thomas L. Bevan -
Vincenzo Ciancia