Functional design patterns


Martin McBride, 2019-09-28
Tags closure design pattern
Categories functional programming
In Programming techniques

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 the book Functional Programming in Python or other books by the same author.