Functional Programming in Python
Free
Description
Contents
Reviews
Language
English
ISBN
978-1-491-92856-1
Copyright
Table of Contents
Preface
What Is Functional Programming?
Beyond the Standard Library
Resources
A Stylistic Note
Chapter 1. (Avoiding) Flow Control
Encapsulation
Comprehensions
Generators
Dicts and Sets
Recursion
Eliminating Loops
Eliminating Recursion
Chapter 2. Callables
Named Functions and Lambdas
Closures and Callable Instances
Methods of Classes
Accessors and Operators
Static Methods of Instances
Generator Functions
Multiple Dispatch
Many Branches
Delegating to the Object
Pattern Matching
Predicate-Based Dispatch
Chapter 3. Lazy Evaluation
The Iterator Protocol
Module: itertools
Chaining Iterables
Chapter 4. Higher-Order Functions
Utility Higher-Order Functions
The operator Module
The functools Module
Decorators
The book hasn't received reviews yet.