Learn You a Haskell for Great Good! – A Beginner′s Guide

Paperback Engels 2011 9781593272838
€ 62,61
Levertijd ± 9 werkdagen
Gratis verzonden

Samenvatting

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!

Specificaties

ISBN13:9781593272838
Taal:Engels
Bindwijze:paperback
Aantal pagina's:400
Verschijningsdatum:11-4-2011

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Inhoudsopgave

Introduction;
So, What's Haskell?;
What You Need to Dive In;
Acknowledgments;
Chapter 1: Starting Out;
1.1 Calling Functions;
1.2 Baby's First Functions;
1.3 An Intro to Lists;
1.4 Texas Ranges;
1.5 I'm a List Comprehension;
1.6 Tuples;
Chapter 2: Believe the Type;
2.1 Explicit Type Declaration;
2.2 Common Haskell Types;
2.3 Type Variables;
2.4 Type Classes 101;
Chapter 3: Syntax in Functions;
3.1 Pattern Matching;
3.2 Guards, Guards!;
3.3 where?!;
3.4 let It Be;
3.5 case Expressions;
Chapter 4: Hello Recursion!;
4.1 Maximum Awesome;
4.2 A Few More Recursive Functions;
4.3 Quick, Sort!;
4.4 Thinking Recursively;
Chapter 5: Higher-Order Functions;
5.1 Curried Functions;
5.2 Some Higher-Orderism Is in Order;
5.3 The Functional Programmer's Toolbox;
5.4 Lambdas;
5.5 I Fold You So;
5.6 Function Application with $;
5.7 Function Composition;
Chapter 6: Modules;
6.1 Importing Modules;
6.2 Solving Problems with Module Functions;
6.3 Mapping Keys to Values;
6.4 Making Our Own Modules;
Chapter 7: Making Our Own Types and Type Classes;
7.1 Defining a New Data Type;
7.2 Shaping Up;
7.3 Record Syntax;
7.4 Type Parameters;
7.5 Derived Instances;
7.6 Type Synonyms;
7.7 Recursive Data Structures;
7.8 Type Classes 102;
7.9 A Yes-No Type Class;
7.10 The Functor Type Class;
7.11 Kinds and Some Type-Foo;
Chapter 8: Input and Output;
8.1 Separating the Pure from the Impure;
8.2 Hello, World!;
8.3 Gluing I/O Actions Together;
8.4 Some Useful I/O Functions;
8.5 I/O Action Review;
Chapter 9: More Input and More Output;
9.1 Files and Streams;
Afgekapt op 60 regels

Managementboek Top 100

€ 62,61
Levertijd ongeveer 9 werkdagen
Gratis verzonden

Rubrieken

Producten

    Auteurs

      Trefwoorden

        Artikelen

          Learn You a Haskell for Great Good! – A Beginner′s Guide