作者:《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
《破绽:风口上的独角兽》内容简介:互联网时代是一个英雄不问出处的草莽时代。这个时代造就了一大批独角兽公司和新兴业态,它们出
《新时代改革方法论研究》内容简介:该书包括以下几个个部分的内容。第一部分主要总结改革开放的重大意义,第二部分回顾改革方法论
本书为“勒·柯布西耶新精神丛书”中的一本。柯布西耶提出的观点是:现代装饰艺术就是不装饰。但我们被告知,装饰对于我们的生活
内容简介:随着信息技术和互联网的发展,人们逐渐从信息匮乏的时代走入了信息过载(informationoverload)的时代。在这个时代,无
《马化腾跑赢互联网的26个竞争策略》内容简介:腾讯17年的风雨兼程,马化腾17年的栉风沐雨,可以说是中国互联网发展的鲜活标本。《
ASP.NET程序设计 内容简介 本书系统地讲述了使用ASP.NET进行网络程序设计。第1章讲述了.NET框架结构及如何搭建运行环境,并开发了第1个简单的ASP...
《蒋丰看日本:说说十大日本侵华人物》内容简介:本书第一次全方位地掀开二战期间东条英机等甲级战犯及其他侵华人物的成长面纱,揭露
图书简介:这部具有开创性的著作为设计师、艺术指导和学生,无论他们的经验如何,提供了通向成功的设计的独特方法。在他对使视觉
《中国政党学说文献汇编(第三卷)》内容简介:第三卷收集的是1930—1949年间中国政党理论的文献资料。以编者查阅的国内报刊篇章、
D语言是一种通用的系统和应用编程语言,它保持了生成高效代码以及直接访问操作系统API和硬件的能力。《D程序设计语言》是一本介绍
《十八世纪的中国政治》内容简介:从康熙帝晚年,经雍正朝,直到乾隆帝去世,祖孙三代皇帝的统治跨越了整个18世纪。这100年间,中国
《沙漠之城》内容简介:埃及,一个充满了妖艳而疯狂气息的沙漠之域。旅行探险家本尼西本想在这里体验一番奇妙的异域风情,探寻传说
《癌症患者怎么吃》内容简介:作者拥有十年中美临床营养工作经验,深知癌症患者在康复过程中离不开健康的饮食,科学的营养支持,从
《C++从入门到精通(微视频精编版)》内容简介:本书从初、中级读者的角度出发,通过通俗易懂的语言、丰富多彩的实例,详细介绍了使
《小波变换与工程应用》从工程应用角度出发,主要介绍小波变换的基本理论与典型应用.全书共九章,小波变换的基本概念和原理部分
《无止之境:中国平安成长之路》内容简介:人文财经观察家秦朔及其团队新作首部观察中国平安集团32年发展历程的传记作品辉煌再现中
《研究型大学助力乡村振兴》内容简介:本书深入福建省浦城县农业管理部门、企业和农户,从区域发展实践出发,探讨产业发展的理论和
Mathematica基础与应用(含CD光盘1张) 本书特色 《Mathematica基础与应用(附光盘)》的前世是笔者丁大正编著的《科学计算强档Mathema...
《滇金丝猴生活史》内容简介:《滇金丝猴生活史》记述了中科院灵长类生态学研究组长达14年的研究经历,向公众展现滇金丝猴的神秘世
《尬聊》内容简介:本书语言生动,通俗易懂,内含大量贴近生活的案例,讲述了与不同的人相处时如何巧妙地聊天。教你化解复杂的、难