Learn You a Haskell for Great Good!: A Beginner's Guide
- 7h 17m
- Miran Lipovaèa
- No Starch Press
- 2011
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!
In this Book
-
Learn You a Haskell for Great Good!—A Beginner's Guide
-
Starting Out
-
Believe the Type
-
Syntax in Functions
-
Hello Recursion!
-
Higher-Order Functions
-
Modules
-
Making Our Own Types and Type Classes
-
Input and Output
-
More Input and More Output
-
Functionally Solving Problems
-
Applicative Functors
-
Monoids
-
A Fistful of Monads
-
For a Few Monads More
-
Zippers