© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
V. SarcarIntroducing Functional Programming Using C#https://doi.org/10.1007/978-1-4842-9697-4_4

4. Composing Functions Using Pipelining

Vaskaran Sarcar1  
(1)
Kuntala Furniture, Kolkata, West Bengal, India
 

Understanding the building blocks of functional programming (FP) is essential. But using them effectively is equally important. Composing functions is an integral part of FP. This chapter discusses this topic.

Overview

Composing functions means combining multiple functions into a new function.

In mathematics, function composition is an operation o that takes two functions, f and g, and produces a function h = f o g such that h(x) = f(g(x)). In this example, ...

Get Introducing Functional Programming Using C#: Leveraging a New Perspective for OOP Developers 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.