Ivan Miljenovic <ivan.miljenovic <at> gmail.com> writes: > > 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 <kill2thrill <at> hotmail.com> 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 :) _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe