Live data from Hacker News

Learn You a Haskell for Great Good

learnyouahaskell.com

61–70 of 152 posts

Re: Learn You a Haskell for Great Good

#61

Another good (imho better) option is the Haskell book https://haskellbook.com/

Not to start a flame war, but imho this is my definition of a "terrible book". Of the everything and the kitchen sink variety. By contrast, I very much enjoyed LYAH, not least for its self-effacing humor. Hutton was too dry for me. There's a less well-known "Thinking Functionally with Haskell" book by Richard Bird that is concise and targets the mathematically inclined crowd.

Re: Learn You a Haskell for Great Good

#62

Terrible book. Please, please read Graham Hutton's Programming in Haskell. LYAH is full of incorrect definitions and broken analogies. Hutton on the other hand is up there with K&R for clear and concise definitions.

May be this book isn't ideal, but it explain the most important and complicated things in haskell such as Functors, Monads, Applicatives, etc.

Re: Learn You a Haskell for Great Good

#63

Terrible book. Please, please read Graham Hutton's Programming in Haskell. LYAH is full of incorrect definitions and broken analogies. Hutton on the other hand is up there with K&R for clear and concise definitions.

Thanks, will give it a shot. I got stuck with the implementation of State monads while reading LYAH probably due to the older code samples (State vs StateT). The explainations were however quite easy to grasp and I believe I assimilated some good general coding practices while reading through.

Re: Learn You a Haskell for Great Good

#64
post #53

Another good (imho better) option is the Haskell book https://haskellbook.com/

But it costs $59 dollars, and you don't have the option of buying a print book. LYAH is more appealing for early learners, since it's free.

The Haskell wikibook[1] is a better free resource.

[1]: https://wikibooks.org/wiki/Haskell

Re: Learn You a Haskell for Great Good

#65

Terrible book. Please, please read Graham Hutton's Programming in Haskell. LYAH is full of incorrect definitions and broken analogies. Hutton on the other hand is up there with K&R for clear and concise definitions.

Personally, I found LYAH to be a great book. If there are places where the book is incorrect, I didn't have the background knowledge to notice. I felt the book did a good job explaining applicatives and monads by starting at the very basics and very slowly ramping up the complexity to a complete understanding. I know with many math books I have had a problem where some transformation morphs equation A into equation B and the reader is left wondering how exactly B was obtained. I never felt that way reading LYAH. I could see where somebody already knowledgeable with Haskell would find the micro steps overkill, but it went at the pacing I needed.

Re: Learn You a Haskell for Great Good

#66

Terrible book. Please, please read Graham Hutton's Programming in Haskell. LYAH is full of incorrect definitions and broken analogies. Hutton on the other hand is up there with K&R for clear and concise definitions.

I used this book to get introduced to Haskell and think it worked great, it’s also used as the course material in the first programming course for the CS-Program at Chalmers University of Technology (CTH) and have worked as a introduction to programming for hundreds of students every year.

Re: Learn You a Haskell for Great Good

#68
I read LYAH a few years ago and I enjoyed it. These days I'd probably find it tries too hard to be funny, but that's me getting older, not the book getting worse.

It is very much written by a (young) 20-something targeting other 20-somethings with a similar sense of humor. Came out in 2011, which puts the author at 24 years old. So ... you know.

Went to high school with the dude for 4 years. He's cool.

Re: Learn You a Haskell for Great Good

#69
post #32

Earlier quoted context omitted.

Currently: >This site can’t be reached >haskellbook.com refused to connect. HN readers hitting the site?

http version is up and running. maybe it's just a certificate thing: http://haskellbook.com/

That link works, thanks.
Post reply on HN