This article is part of a series on functional programming.
There are several design patterns that are often used with functional programming, although they are not all exclusive to the FP paradigm.
- Closures are a flexible way to create new functions from existing functions. They can be used to implement partial functions, composition and currying, among other uses.
If you found this article useful you might be interested in my ebook Functional Programming in Python.