concept custom computation in category c#
appears as: custom computations, custom computation

This is an excerpt from Manning's book Real-World Functional Programming with Examples in F# and C#.
The example in this section doesn’t have any real-world benefit, but it demonstrates the core concepts. The first task in designing a custom computation is to consider the type that represents the values produced by the computation.