Monads/Writer monad: Difference between revisions

no edit summary
No edit summary
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:
9,659

edits