It would be nice for this site to give more detailed advice on studying Haskell. Learning a language should be a side effect of studying its canon of programs. Is there a book that relates to Haskell as TAoCP does to machine code, SICP to Scheme, K&R to C, and the dragon book to Lex and Yacc?
If you're new, you might like something easy like the "gentle introduction to haskell" http://www.haskell.org/tutorial/ . Unfortunately it does not cover more recent and advanced features; for that I would recommend Oleg Kiselyov's site http://okmij.org/ftp/Haskell/ (he is somewhat famous in the community for bringing advanced Haskell features "down to earth" with clear, simple examples).
The Haskell Platform 2011.2 is out: GHC 7 for all
21–30 of 34 posts
Re: The Haskell Platform 2011.2 is out: GHC 7 for all
#22It would be nice for this site to give more detailed advice on studying Haskell. Learning a language should be a side effect of studying its canon of programs. Is there a book that relates to Haskell as TAoCP does to machine code, SICP to Scheme, K&R to C, and the dragon book to Lex and Yacc?
> Is there a book that relates to Haskell as TAoCP does to machine code, SICP to Scheme, K&R to C, and the dragon book to Lex and Yacc? My vote would be for Richard Bird and Phil Wadler's Intro to functional programming using Haskell.
Re: The Haskell Platform 2011.2 is out: GHC 7 for all
#23Since it requires compiling the packages using either methods anyways.
Re: The Haskell Platform 2011.2 is out: GHC 7 for all
#24It would be nice for this site to give more detailed advice on studying Haskell. Learning a language should be a side effect of studying its canon of programs. Is there a book that relates to Haskell as TAoCP does to machine code, SICP to Scheme, K&R to C, and the dragon book to Lex and Yacc?
Re: The Haskell Platform 2011.2 is out: GHC 7 for all
#25It would be nice for this site to give more detailed advice on studying Haskell. Learning a language should be a side effect of studying its canon of programs. Is there a book that relates to Haskell as TAoCP does to machine code, SICP to Scheme, K&R to C, and the dragon book to Lex and Yacc?
Real World Haskell: http://book.realworldhaskell.org/ > Written by three of the most prolific and capable Haskell library developers. It covers everything from introductory functional concepts to high-performance C-style stateful programming. You can buy a dead tree, or read it online for free.
I am hopeful that Learn You a Haskell will serve as a good introduction to Haskell, and will recommend it to anyone interested.
RWH is still a fine book; once you understand Haskell, it's still great to go through the examples and exercises. But it is not a good starting point.
Re: The Haskell Platform 2011.2 is out: GHC 7 for all
#26Earlier quoted context omitted.
Real World Haskell: http://book.realworldhaskell.org/ > Written by three of the most prolific and capable Haskell library developers. It covers everything from introductory functional concepts to high-performance C-style stateful programming. You can buy a dead tree, or read it online for free.
At the time, the book seemed like a fresh breath of air, since it focused on solving real 'daily work'-style problems in Haskell. I used to recommend it to friends, but most of them were not so happy. The first few chapters are nice, but after that the examples really become contrived. Instead of giving simple standalone examples to explain a concept, the book starts using examples that tend to linger. People get bor…
For someone who's done some functional programming before, Real World Haskell is probably a good starting point; otherwise something like YAHT would probably be better.
Re: The Haskell Platform 2011.2 is out: GHC 7 for all
#27It would be nice for this site to give more detailed advice on studying Haskell. Learning a language should be a side effect of studying its canon of programs. Is there a book that relates to Haskell as TAoCP does to machine code, SICP to Scheme, K&R to C, and the dragon book to Lex and Yacc?
Real World Haskell: http://book.realworldhaskell.org/ > Written by three of the most prolific and capable Haskell library developers. It covers everything from introductory functional concepts to high-performance C-style stateful programming. You can buy a dead tree, or read it online for free.
Re: The Haskell Platform 2011.2 is out: GHC 7 for all
#28It would be nice for this site to give more detailed advice on studying Haskell. Learning a language should be a side effect of studying its canon of programs. Is there a book that relates to Haskell as TAoCP does to machine code, SICP to Scheme, K&R to C, and the dragon book to Lex and Yacc?
> Is there a book that relates to Haskell as TAoCP does to machine code, SICP to Scheme, K&R to C, and the dragon book to Lex and Yacc? My vote would be for Richard Bird and Phil Wadler's Intro to functional programming using Haskell.
Re: The Haskell Platform 2011.2 is out: GHC 7 for all
#29Re: The Haskell Platform 2011.2 is out: GHC 7 for all
#30It would be nice for this site to give more detailed advice on studying Haskell. Learning a language should be a side effect of studying its canon of programs. Is there a book that relates to Haskell as TAoCP does to machine code, SICP to Scheme, K&R to C, and the dragon book to Lex and Yacc?
Real World Haskell: http://book.realworldhaskell.org/ > Written by three of the most prolific and capable Haskell library developers. It covers everything from introductory functional concepts to high-performance C-style stateful programming. You can buy a dead tree, or read it online for free.
the pros of the book is that it offers a good introduction to the language and a reasonably good survey of some of the more advanced language features and tools such as QuickCheck, STM, concurrency/parallelism, etc.
the cons are that it leaves out one very new interesting direction called functional reactive programming, FRP, and i also thought its treatment of monads (esp. monad transformers) to be a bit thin. most of the time i just found myself going to publications on the more advanced topics than using a book such as RWH (or learnyouahaskell, which i actually quite like).
here are a few links i came across in the course that i think are worth sharing (in no particular order):
(1) http://www.cs.nott.ac.uk/~gmh/monads
(2) http://www.cs.nott.ac.uk/~gmh/monparsing.pdf
(3) http://www.grabmueller.de/martin/www/pub/Transformers.pdf
(4) http://pubs.doc.ic.ac.uk/error-handling-for-Haskell/error-ha...
(5) http://horna.org.ua/books/All_About_Monads.pdf
(6) http://web.cecs.pdx.edu/~mpj/pubs/springschool95.pdf
(7) http://www.cse.chalmers.se/~rjmh/QuickCheck/manual.html
some papers on FRP: http://conal.net/papers/icfp97/icfp97.pdf
this below is a link to a postscript version of "functional reactive programming from first principles", by hudak. http://j.mp/hkk6VC
and, finally, yet another haskell tutorial: https://secure.wikimedia.org/wikibooks/en/wiki/Haskell/YAHT
*EDIT: attempted to purtify multi-link mayhem.