boblettoj <[email protected]> writes:
> shuffle i cards = do 
>       gen <- mkStdGen 10
>       return ([(cards!!i) : (shuffle (randomR (0, ((length cards)-2)) gen)
>       (delete (cards!!i) cards))])

Thta last line doesn't make sense; should it be on the line above?

-- 
Ivan Lazar Miljenovic
[email protected]
IvanMiljenovic.wordpress.com
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to