
Programming in Haskell
by Graham Hutton · first published 2007
71% recommend27% neutral2% critical
Why HN recommends it
Concise, carefully written beginner text on functional programming and Haskell principles, with good exercises, a clear parser combinators chapter, and companion YouTube lectures; suits experienced programmers.
Summarised by Claude from recommending comments
Haskell is one of the leading languages for teaching functional programming, enabling students to write simpler and cleaner code, and to learn how to structure and reason about programs. This introduction is ideal for beginners: it requires no previous programming experience and all concepts are explained from first principles via carefully chosen examples. Each chapter includes exercises that range from the straightforward to extended projects, plus suggestions for further reading on more advanced topics. The author is a leading Haskell researcher and instructor, well-known for his teaching s
Affiliate links. As an Amazon Associate I earn from qualifying purchases.






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.
on “Learn You a Haskell for Great Good” ↗In functional programming: [0] The Structure and Interpretation of Computer Programs [1] The_Little_Schemer [2] Programming in Haskell - Graham Hutton [3] Types and Programming Languages-Benjamin C. Pierce --- PDFS [0](https://github.com/allenleein/brains/blob/master/Zen-of-Func...) [1](https://github.com/allenleein/brains/blob/master/Zen-of-Func...)…
on “Ask HN: What are the best textbooks in your field of expertise?” ↗The 'best' introductory book for learning Haskell is Graham Hutton's 'Programming in Haskell'. It focuses on the essentials of the language, and its clear, spare presentation is in the spirit of Haskell itself. And it is accessible to everyone.
on “What I Wish I Knew When Learning Haskell” ↗…If you haven't see Erik Meijer's haskell course and are interested in that type of thing, check it out: http://lambda-the-ultimate.org/node/3642 It uses this really great book by Graham Hutton called Programming in Haskell.
on “Principles of Reactive Programming” ↗Possibly more up to date in Hutton's Programming in Haskell. I've heard very good things about it: http://www.cs.nott.ac.uk/~gmh/book.html
on “The Haskell Platform 2011.2 is out: GHC 7 for all ” ↗There's "Real World OCaml" (new) and "Real World Haskell" (a bit out of date). But my favourite introductory text, which is not free, is Graham Hutton's "Programming in Haskell".
on “Python 1.0.0 is out (1994)” ↗…book that was far more straightforward as an introduction. And I know a few people that have gone through it cover to cover. Although it's been a while since I read it, I really liked Graham Hutton's 'Programming in Haskell'. It was short & clear.
on “Learn You a Haskell for Great Good” ↗It would be Graham Hutton's Programming in Haskell. That one little chapter on parser combinators was totally worth it. If I can include this functional pearl "A play on regular expression", Not a book though. These two showed how composition and simple…
on “Ask HN: The book that did it for you in math and/or CS?” ↗…you are related to the functional programming paradigm but still I do have two related recommendations about it: FP101x (Provided by DelftX through edX [Now archived but still doable])[1] and the book Programming in Haskell by Graham Hutton.[2] Remember what Mr. Leslie Lamport says: "If people is trying to learn programming by being taught to code, well they are being taught writing by being taught how to type. And that…
on “Should I Haskell or OCaml?” ↗Read "Programming in Haskell" by Graham Hutton first. It's a small book... I literally did the whole thing (including implementing all the exercises) in a week. To call it excellent would be the understatement of the century. From…
on “ Deeply embedded DSLs in Haskell: overloading everything under the sun” ↗Programming in Haskell by Graham Hutton A.I. A Modern Approach (ch 13-16) by Russell and Norvig A Tunnel In The Sky by Robert Heinlein The Revelation Space series (3 of the 5 books) by Alistair Reynolds Eon/Eternity (both…
on “Ask HN: Great books you read in 2009?” ↗Learning Perl. C Programming Language. UNIX Programming Environment. Programming in Haskell. Code Complete. Practice of Programming. Cathedral and the Bazaar. Open Sources. Hackers and Painters. Joel on Software. Coders at Work. Just for Fun. SICP seems to be really well written so far, but…
on “Which programming book you just couldn’t stop reading from start to end?” ↗…available first edition. There's a second edition available that covers more recent versions of Lua.) (Whoops - apologies to brianm - he beat me to this, but I didn't notice.) Maybe also Graham Hutton's Programming in Haskell[2]. It's certainly wonderfully concise and dense (you meet a simple Haskell quicksort in the second chapter, as I recall), but I have to admit that I haven't had a chance to finish it. One more: The…
on “Blunt and necessary review of programming language books.” ↗…sharpened my functional viewpoint. Although 'Haskell School of Expression' is written to be an introductory text, I have trouble seeing it that way, in part because of the multimedia aspect. Graham Hutton's 'Programming in Haskell' is a carefully written beginner text. Functional programming, and Haskell in particular, reward patience. Hudak's and Hutton's books both have a high impact to time spent ratio. I suspect 'School of…
on “Haskell School of Music by Paul Hudak” ↗"ridiculously fun and easy-to-read style" But if you find 'fun' and large amounts of text distracting, then Graham Hutton's 'Programming in Haskell'[1] is a better introduction to what Haskell is about. [1] http://www.cs.nott.ac.uk/~gmh/book.html
on “Why learning Haskell makes you a better programmer” ↗