-
Book Overview & Buying
-
Table Of Contents
Functional Python Programming - Second Edition
By :
A very important feature of the functional programming paradigm is higher-order functions. These are functions that accept functions as arguments or return functions as results. Python offers several kinds of higher-order functions. We'll look at them and some logical extensions.
As we can see, there are three varieties of higher-order functions as follows:
Python offers several higher-order functions of the first variety. We'll look at these built-in higher-order functions in this chapter. We'll look at a few of the library modules that offer higher-order functions in later chapters.
The idea of a function that emits functions can seem a bit odd. However, when we look at a Callable class, the class definition is a function that returns Callable objects when evaluated...
Change the font size
Change margin width
Change background colour