Re:Escaping Hell with Monads (2017)
by gnud on Friday February 23, 2018 @08:33AM
(#16446181)
In the Haskell example, a/b/c/d can be lists of simple data structures.
In your c# style example, getData/getMoreData must either be methods on the a/b/c/d objects, or extension methods on lists of simple data structures. Both are pretty bad in comparison, IMO.
In your c# style example, getData/getMoreData must either be methods on the a/b/c/d objects, or extension methods on lists of simple data structures. Both are pretty bad in comparison, IMO.