[Haskell-cafe] better way to do this?

Michael P Mossey mpm at alumni.caltech.edu
Wed Oct 7 01:47:10 EDT 2009


Michael P Mossey wrote:
> Also note that I added the Random class constraint to 'shuffle'. I 
> haven't tested this but it might be necessary. Or not?
> 
Okay I figured this part out too. The members of the list you are shuffling have 
no class constraint on them because the 'shuffle' function is not generating or 
computing with them... only moving them around.




More information about the Haskell-Cafe mailing list