I am trying to grok get a preliminary understanding of monads.
I have a data layer call whose result I would like to return monadically either as a result e
It's worth noting that there are C# libraries available now that contain implementations of Either
:
language-ext library is available for .Net 4.5.1 and .Net Standard 1.3
LaYumba library is available for .Net Standard 1.6 and .Net Core 1.1.
Both libraries are well documented, with LaYumba being used as the basis of the Manning book Functional Programming in C#.