[Haskell-cafe] Re: Occurs check error, help!

Ivan Miljenovic ivan.miljenovic at gmail.com
Sun Mar 21 23:45:56 EDT 2010


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.

-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com


More information about the Haskell-Cafe mailing list