Monads/Writer monad: Difference between revisions

Content deleted Content added
Hout (talk | contribs)
No edit summary
Hout (talk | contribs)
No edit summary
Line 1:
[[Category:Monads]]
 
The Writer monad is a coding design pattern which which makes it possible to compose functions which return their results combined with a log string. The final result of a composed function yields both the resulting value, and a concatenation of the logs from each component function application.
 
Demonstrate in your programming language the following: