SUMMARY

Monads are an interesting topic, and this chapter gave you an understanding of what they are and how they are relevant. The fact remains that C# doesn’t lend itself well to programming with monads — some concepts can be adopted, but for many purposes monads are cumbersome to use. Nevertheless, I made the decision to include this chapter because monads are such an important idea in functional programming, and the basic understanding you have gained will be useful to any further research you may do in this area.

Get Functional Programming in C#: Classic Programming Techniques for Modern Projects 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.