In the previous chapter, you learned about function composition using pipelining. You reviewed function composition using higher-order functions (HOFs) too. Now I’ll show you one more technique, called currying, which is not common in OOP development. It is common in functional programming, though. If you are learning about currying for the first time, you may find it difficult to understand. But once you grasp the basic concepts, you’ll value the effort. ...
5. Composing Functions Using Currying
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.