作者:《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时代:品牌卡通形象设计揭秘(第3版·修订版)》内容简介:大IP时代就要来临了,那么到底什么是设计行业的大IP?本书就IP设
本书为“勒·柯布西耶新精神丛书”中的一本。柯布西耶提出的观点是:现代装饰艺术就是不装饰。但我们被告知,装饰对于我们的生活
《无线通信原理与应用(第2版)(英文版)》是无线通信课程的权威教材,面向那些已经熟悉诸如概率论、通信原理和基本电磁学等技术概念
《我认识的唐朝诗人》内容简介:复旦大学资深教授陈尚君的《我认识的唐朝诗人》,文共30篇,前25篇是写一个诗人或者闻名诗人的人生
《产业数字化》内容简介:疫情凸显出数字经济的韧性和优势,也反映出产业数字化的必要性和紧迫性。伴随中国经济发展双循环战略的明
BookDescriptionTextpatternisapowerful,PHP-basedcontentmanagementsystemthatallows...
《疯狂XML讲义》主要以XML为核心,深入地介绍了XML的各种相关知识。《疯狂XML讲义》作为疯狂Java体系图书之一,依然保持该体系图
《世界大学排名与中国高水平大学建设》内容简介:世界大学排名主要通过加工处理各大学间的可比信息,以简单直观的结果反映各高校办
《联网力:传统行业互联网化转型的原动力》内容简介:本书主要讲述了互联网浪潮及其带来的新思维与新理念,并归纳总结了新时代下企
《HTML 5开发精要与实例详解》内容简介:这是一本以综合性案例为导向并辅之以精要知识点讲解的HTML 5实战教程。内容分为两大部分:
《蔡澜说美食:学会浅尝二字》内容简介:蔡澜先生说: 吃不饱的菜,最妙。豆那么细小,一颗颗吃,爱惜每一粒的滋味,也爱惜了人生中
系统与数据恢复技术 本书特色 本教材主要针对目前主流操作系统Windows及其文件系统下的数据恢复方法、技术和编程实现,重点介绍Windows系统环境下的系统和...
《轻战略:量子时代的敏捷决策》内容简介:本书适合创业型小企业和大型企业的内部孵化企业专业人士使用,提出了创新型组织需要更加
桑原晃弥出生于日本广岛县,毕业于庆应义塾大学经济管理专业;曾任《行业报》记者、不动产公司企划、人事课长,后为自由撰稿人;
《走向大洋:前苏联冷战时期远洋水面作战舰艇》内容简介:前苏联远洋水面舰艇发展道路曲折而坎坷,但是在此过程中,一个陆权国家走
《说笑:有效有范儿的表达技巧》内容简介:本书是《吐槽大会》卡司、“脱口秀女王”思文的幽默沟通之道。与人沟通并不容易,我们往
《中国收入分配格局的现状与改革措施》内容简介:经济理论的发展与变化是和经济实践紧密联系的,在我国继续向社会主义市场经济体制
《C++编程规范:101条规则准则与最佳实践》中,两位知名的C++专家将全球C++界20年的集体智慧和经验凝结成一套编程规范。这些规范可
Thisintroductiontoprogrammingplacescomputerscienceinthecoreofaliberalartseducati...