Skip to Content
Programming Languages: Concepts and Implementation
book

Programming Languages: Concepts and Implementation

by Saverio Perugini
December 2021
Beginner
840 pages
47h 29m
English
Jones & Bartlett Learning
Content preview from Programming Languages: Concepts and Implementation

8.5 Analysis

Higher-order functions capture common, typically recursive, programming patterns as functions. When HOFs are curried, they can be used to automatically define atomic functions—rendering the HOFs more powerful. Curried HOFs help programmers define functions in a modular, succinct, and easily modifiable/reconfigurable fashion. They provide the glue that enables these atomic functions to be combined to construct more complex functions, as the examples in the prior section demonstrate. The use of curried HOFs lifts us to a higher-order style of functional programming—the third tier of functional programming in Figure 5.10. In this style of programming, programs are composed of a series of concise function definitions that are defined ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Concepts and Semantics of Programming Languages 1

Concepts and Semantics of Programming Languages 1

Therese Hardin, Mathieu Jaume, Francois Pessaux, Veronique Viguie Donzeau-Gouge
Programming C# 10

Programming C# 10

Ian Griffiths

Publisher Resources

ISBN: 9781284222739