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
冯登国(FENGDengguo,1965.5~),现为中国科学院软件所研究员、博士生导师,信息安全国家重点实验室主任,国家计算机网络入侵防范中
MichaelGoodrichandRobertoTamassia,authorsofthesuccessful,DataStructuresandAlgori...
《锁相环:设计、仿真与应用》(第5版)(翻译版)第1章是简短的引言,介绍锁相环领域的情况。第2章安排涉及混合信号锁相环的理论,设
《如何做用户增长更有效》内容简介:随着互联网用户逐渐饱和,如何在存量市场中真正找到用户增长的钥匙?在本书中,你会找到想要的
《JavaScript+Vue.js web开发案例教程(在线实训版)》内容简介:随着互联网技术的不断发展,JavaScript语言及其相关技术越来越受人
本书的构思和写作是在20世纪50年代后期,那一时期曾经被人们称为喷气机时代、清洁剂时代、第二次工业革命时期,等等。在那个阶段
《普通高等教育十五国家级规划教材配套参考书•模拟电子技术基础(第4版)习题解答》是为配合清华大学电子学教研组编,华成英、童诗
《如何成为质性研究专家(英文版)(第3版)》对质性研究进行了简要而全面的论述。它不仅能够帮助读者理解质性研究方法,还能帮助他们
Stata统计分析与应用-赢在职场-第2版-(附光盘) 本书特色 本书主要讲解数据的基本处理、图形的绘制、统计分析、回归与建模分析、编程等方面的内容,讲解力求细...
在电商两极化趋势越来越明显的当下,中小店主们该如何从重重包围中突围而出?如何在店铺包装上一鸣惊人?爆款已死,唯有真正小而
TheHandbookofNaturalLanguageProcessing,SecondEditionpresentspracticaltoolsandtec...
LearncomputerprogrammingtheeasywaywithProcessing,asimplelanguagethatletsyouuseco...
PaulRandwasoneoftheworldsleadinggraphicdesigners.Herehedescribeshisworkwiththesa...
本书初版于1983年,是20世纪80年代轰动知识界的“走向未来丛书”之一种。作者采用中西对比的视角,探讨了近代科学技术结构发展的
《文史随感》内容简介:本书是戴逸先生在史学研究之余创作的文史随感结集,书中鉴古思今,内容涉及作者对中国历史和文学、中西文化
《指尖上的会计》内容简介:学会计并不难,难的是“学得开心,用得顺手”。那么,面对那些晦涩难懂的会计术语以及财税处理工作,如
该书是Wrox红皮书中的畅销品种,从初版、1.0版、1.1版到目前的2.0版,已经3次升级,不仅内容更加完善、实用,还展现了.NET2.0的最
《图灵程序设计丛书:征服C指针》被称为日本最有营养的C参考书。作者是日本著名的“毒舌程序员”,其言辞犀利,观点鲜明,往往能让
LightweightDirectoryAccessProtocol(LDAP)isthestandardfordirectoryinformationacce...
UDA是一种专门为提高并行程序开发效率而设计的计算架构。在构建高性能应用程序时,CUDA架构能充分发挥GPU的强大计算功能。《GPU高