作者:《Functional Programming in Scala》书籍
出版社:Softbound print
出版年:2014-9-14
评分:9.0
ISBN:9781617290657
所属分类:网络科技
Functional programming (FP) is a programming style emphasizing functions that return consistent and predictable results regardless of a program's state. As a result, functional code is easier to test and reuse, simpler to parallelize, and less prone to bugs. Scala is an emerging JVM language that offers strong support for FP. Its familiar syntax and transparent interoperability with existing Java libraries make Scala a great place to start learning FP.
Functional Programming in Scala is a serious tutorial for programmers looking to learn FP and apply it to the everyday business of coding. The book guides readers from basic techniques to advanced topics in a logical, concise, and clear progression. In it, you'll find concrete examples and exercises that open up the world of functional programming.
You'll discover simple but powerful ideas and techniques that cut through the complexity of modern software engineering, including writing multi-core and distributed programs. You'll learn how FP gives you high confidence in the correctness of your code and helps you design software at high levels of abstraction so that even very large systems become comprehensible at a glance.
WHAT'S INSIDE:
Functional programming from square one in clear, readable language
No prior Scala experience needed
Learn both the hows and whys of FP
No prior experience with FP or Scala is required. Perfect for programmers familiar with FP in other languages wishing to apply their knowledge in Scala.
PART 1: INTRODUCTION TO FUNCTIONAL PROGRAMMING
1. What is functional programming? - FREE
2. Structuring functional programs - AVAILABLE
3. Functional data structures - AVAILABLE
4. Handling errors without exceptions - AVAILABLE
5. Strictness and laziness - AVAILABLE
6. Purely functional state - AVAILABLE
PART 2: FUNCTIONAL DESIGN AND COMBINATOR LIBRARIES
7. Purely functional parallelism - AVAILABLE
8. Property-based testing - AVAILABLE
9. Parser combinators
PART 3: COMMON STRUCTURES IN FUNCTIONAL DESIGN
10. Monoids
11. Monads
12. Applicative functors, traversable, and distributive data structures
PART 4: BREAKING THE RULES: EFFECTS AND I/O
13. External effects and I/O
14. Local effects and the ST monad
15. Stream processing and incremental I/O
Appendix A: Haskell, Scala and syntax
Appendix B: Scalaz, implicits, and large library organization
IP路由协议疑难解析 本书特色 《IP路由协议疑难解析》提供了关于疑难解析技巧的完整介绍和各种实例,适合各类网络管理员、网络运行工程师,以及想成功通过CCIE认...
《Perl语言入门(第5版)》也就是大家所称道的“小骆驼书”,是Perl程序设计人员最为仰赖的启蒙读物之一。自1993年以来,这本《Per
互联网在日常工作和生活中扮演日益重要的角色,互联网将如何重塑社会?本书通过汇集有关互联网文化、经济、政治角色等问题的研究
MuchhaschangedinthetenyearssincethepublicationofthefirsteditionoftheHandbookofHu...
《梁冬说庄子·应帝王》内容简介:很多人都认为,《应帝王》讲的是帝王应该如何治理天下,其实,《应帝王》最终讲的道理是,如果我
网络科学视角下的推荐系统研究 内容简介 本书在对协同过滤为主的推荐系统、网络科学理论进行系统综述的基础上, 考虑社交网络发展以及用户信任的网络关系特征, 主要运...
《Unity 5.X 3D游戏开发技术详解与典型案例》内容简介:本书对Unity3D集成开发环境界面、脚本的编写和众多高级特效的实现进行了详细
《在普罗旺斯闻香:45座普罗旺斯最美的古镇》内容简介:本书为中国人精心选择了介绍了45座最有地方特色的法国普罗旺斯古镇。沿法国
《发展党员工作方法与实务》内容简介:本书融入了党的十八大以来加强党建工作的新成果,既有理论研究深度,又有典型案例分析,既反
内容提要本书深入描述了IEEE的开放系统接口标准-POSIX线程,通常称为Pthreads标准。本书首先解释了线程的基本概念,包括异步编程
C.NET程序设计 本书特色 《C#.NET程序设计》:教材特色这是一本为高职高专学生量身定做的计算机类专业的项目课程教材。 任务引领本教材以任务为载体,将知识...
Series60智能手机开发平台正掀起新一轮的移动服务浪潮。超过60%的手机生产商获得了Series60平台的授权。Series60移动应用开发平
《Web安全深度剖析》总结了当前流行的高危漏洞的形成原因、攻击手段及解决方案,并通过大量的示例代码复现漏洞原型,制作模拟环境
《当大数据遇见物联网:智能决策解决之道》内容简介:本书详细阐述了与大数据、物联网、决策科学开发相关的基本解决方案,主要包括
很多用过索尼产品的人,恐怕都会有这样别有一番滋味的记忆:夹着立体声收录机招摇过市,而且这台收录机一定要有SONY标志,就像如
《安全通论:刷新网络空间安全观》内容简介:本书构建了一套网络空间安全的统一基础理论体系,在理工科范围内(不含心理学、社会学
《理念·制度·人》内容简介:20多年超近距离观察华为与任正非,8年研究积淀解析华为快速崛起的底层逻辑。在本书中,华为公司顾问田
《Redis入门指南》是一本Redis的入门指导书籍,以通俗易懂的方式介绍了Redis基础与实践方面的知识,包括历史与特性、在开发和生产
《学霸教你的高效学习法》内容简介:比勤奋更重要的是方法,好的学习方法可以事半功倍,实现提分,让成绩更上一个台阶。本书是清华
《Maya 2013完全学习手册》内容简介:本书是“完全学习手册”系列图书中的一本。《Maya 2013完全学习手册》遵循人们的学习规律和方