[斯洛文尼亚] Miran Lipovaca《Learn You a Haskell for Great Good!》

[斯洛文尼亚] Miran Lipovaca《Learn You a Haskell for Great Good!》

作者:[斯洛文尼亚] Miran Lipovaca

出版社:No Starch Press

出版年:2011-4-11

评分:9.2

ISBN:9781593272838

所属分类:网络科技

书刊介绍

内容简介

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!

作品目录

Introduction

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

相关推荐

微信二维码