[Haskell-beginners] Couldn't match expected type ‘IO ()’ with actual type [Integer]

Roelof Wobben r.wobben at home.nl
Thu Feb 5 21:12:31 UTC 2015


Marcin Mrotek schreef op 5-2-2015 om 21:59:
> @Norbert Melzer - Yeah, I just wanted to provide a solution without
> shuffling Roelof's code too much, so he'd recognize how is it
> different from his version. I did write that this is incomplete and
> requires the list to be reversed later.
>
> @Roelof Wobben - Maybe try a different one? There are several popular
> choices other than LYAH:
> * FP Complete Shool of Haskellhttps://www.fpcomplete.com/school
> * Wikibooks: http://en.wikibooks.org/wiki/Haskell
> * Real World Haskell: http://book.realworldhaskell.org (Warning: while
> I remember learning from this book some time ago and it was fine,
> every now and then I see people saying that it's outdated and some
> examples don't compile)
>
> Kind regards,
> Marcin Mrotek
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>

Thanks, Im followinh the CiS 194 course which can be found here : 
http://www.seas.upenn.edu/~cis194/spring13/index.html
and not the LYAH.

The last book is used on this course.

Roelof



More information about the Beginners mailing list