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
《软件测试的艺术》(原书第2版)成功、有效地进行软件测试的实用策略和技术:基本的测试原理和策略 验收测试程序检查和走查 安装
本书取材于各大IT公司历年面试真题(包括笔试题、口试题、电话面试、英语面试,以及逻辑测试和智商测试)。通过精确详细的分类,
《日本对中国东北的殖民统治》内容简介:九一八事变后,日本在中国东北地区扶植伪满政权,并以之为工具,把东北地区的政治、经济、
《汉字王国:让中国走向现代的语言革命》内容简介:在地铁上,超市排队时,上班办公的空当,我们都能用大拇指以惊人的速度在手机上
《读得懂的医学:消化的秘密》内容简介:本书由资深胃肠外科专科医生为大家普及一些常见的消化系统知识,通过真实的事例带您了解消
方兴东,清华大学博士。1996年起开始涉足互联网领域,执著于中国互联网的推动,被《南方周末》冠为中国的“网络旗手”。1999年9月
Afreshapproachtosucceedingwithinnovation,groundedininsightsaboutrapidlychangingc...
折线模糊神经网络与模糊系统逼近 本书特色 本书主要分两个方面进行阐述:一方面,基于折线模糊数的算术运算对一类新型的折线模糊神经网络进行建模和性能分析,并讨论该网...
本书的目的是想让人们考虑设计虚拟世界的问题。问题不在于你是否赞同其中的观点,而在于——除非你能够提出自己的观点。从虚拟世
界面设计(ui设计)是高等美术学院平面设计专业的热门课程之一。本书是作者长期在一线承接界面设计项目,具有丰富的设计与制作经
《中国佛教信仰与生活史》内容简介:本书从制度史、社会史、文化史的视角,以忏法、素食、慈善、讲经、放生、菩萨信仰、名山信仰等
《出版理论与实务研究(2022)》内容简介:《出版理论与实务研究2022》全书分为“出版工作”“选题策划”“书稿审读”“市场营销”
《股权一本通》内容简介:合理的股权设计和股权分配能够成为公司发展的源动力,能够有效解决人的问题、钱的问题、资源的问题、融资
《工业机器人编程高手教程》内容简介:《工业机器人编程高手教程》从工业机器人集成项目的角度出发,介绍安川工业机器人的机器人本
《理性的设计感性的空间:法国DBLANT都林国际设计》贯穿了30余篇设计师的文章,对设计机构的发展模式、设计项目的管理及设计过程中
《简单高效LaTeX》内容简介:本书从解答为何要学习使用LaTeX谈起,以丰富的范例和简洁的语言,系统介绍了科学排版系统LaTeX的基础知
《论语全解》内容简介:《论语》是记录孔子及其部分弟子言行的语录体文集,是儒家早期重要的经典著作,也是反映我国优秀传统文化的
《中国文化企业品牌案例》内容简介:本书以国内文化企业为关注对象,以文化企业的核心竞争力与商业模式为研究中心,精心选取国内文
domus杂志是有着80多年历史的、世界著名的建筑艺术与室内设计杂志,其中文版创刊于2006年,“与中国有关”访谈栏目也同时推出。每
《去湿地观鸟》内容简介:米娅非常开心地去湿地秋游,她看到了各种不同的鸟类,还意外发现了被捕鸟网困住的震旦鸦雀。她将可怜的震