Learn You a Haskell for Great Good!
It’s all in the name: Learn You a Haskell for Great Good! is a hilarious, illustrated guide to this complex functional language. Packed with the author’s original artwork, pop culture references, and most importantly, useful example code, this book teaches functional fundamentals in a way you never thought possible.
You’ll start with the kid stuff: basic syntax, recursion, types and type classes. Then once you’ve got the basics down, the real black belt master-class begins: you’ll learn to use applicative functors, monads, zippers, and all the other mythical Haskell constructs you’ve only read about in storybooks.
As you work your way through the author’s imaginative (and occasionally insane) examples, you’ll learn to:
- Laugh in the face of side effects as you wield purely functional programming techniques
- Use the magic of Haskell’s “laziness” to play with infinite sets of data
- Organize your programs by creating your own types, type classes, and modules
- Use Haskell’s elegant input/output system to share the genius of your programs with the outside world
Short of eating the author’s brain, you will not find a better way to learn this powerful language than reading Learn You a Haskell for Great Good!
Table of Contents
Chapter 1. Starting Out
Chapter 2. Believe the Type
Chapter 3. Syntax in Functions
Chapter 4. Hello Recursion!
Chapter 5. Higher-Order Functions
Chapter 6. Modules
Chapter 7. Making Our Own Types and Type Classes
Chapter 8. Input and Output
Chapter 9. More Input and More Output
Chapter 10. Functionally Solving Problems
Chapter 11. Applicative Functors
Chapter 12. Monoids
Chapter 13. A Fistful of Monads
Chapter 14. For a Few Monads More
Chapter 15. Zippers
- Paperback: 400 pages
- Publisher: No Starch Press (March 2011)
- Language: English
- ISBN-10: 1593272839
- ISBN-13: 978-1593272838