An illustrated, lighthearted guide to learning the Haskell programming language, based on a well-known online tutorial.
- An offbeat and enjoyable way to learn a difficult and traditionally academic language
- Highly-anticipated book version of the popular web tutorial
- Author's site gets 30,000 unique visitors monthly
- Haskell has a strong, dedicated, and vocal community
IntroductionChapter 1: Starting OutChapter 2: Believe the TypeChapter 3: Syntax in FunctionsChapter 4: Hello Recursion!Chapter 5: Higher-Order FunctionsChapter 6: ModulesChapter 7: Making Our Own Types and Type ClassesChapter 8: Input and OutputChapter 9: More Input and More OutputChapter 10: Functionally Solving ProblemsChapter 11: Applicative FunctorsChapter 12: MonoidsChapter 13: A Fistful of MonadsChapter 14: For a Few Monads MoreChapter 15: ZippersColophonUpdates
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, monds, zippers, and all the other mythical Haskell constructs you've only read about in storybooks.
As you work your way through he 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!