Table of Contents
1. Introduction to functional programming
Chapter 1. What is functional programming?
1.1. The benefits of FP: a simple example
1.2. Exactly what is a (pure) function?
1.3. Referential transparency, purity, and the substitution model
Chapter 2. Getting started with functional programming in Scala
2.1. Introducing Scala the language: an example
2.3. Modules, objects, and namespaces
2.4. Higher-order functions: passing functions to functions
Get Functional Programming in Scala now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.