
21 Mar
2010
21 Mar
'10
11:52 p.m.
Ivan Miljenovic
Since my answer before to your question obviously wasn't clear enough, let me highlight the lines of the error message that summarise what you have to do:
On 22 March 2010 14:31, adamtheturtle
wrote:
Possible fix: add (Eq a) to the context of the type signature for `shuffle'
Alternatively, use the random-shuffle package rather than coding your own.
So sorry to keep on going on about this but I have been set to start with "shuffle :: Int -> [a] -> [a]" so I have to do that and can't use the given code and I really don't know where to put (Eq a) Thank you so much for replying :)