Monads/Writer monad: Difference between revisions

Content added Content deleted
m (→‎{{header|Factor}}: bug fix rolled into release; workaround no longer required)
m (→‎{{header|Factor}}: formatting)
Line 238: Line 238:


=={{header|Factor}}==
=={{header|Factor}}==
{{works with|Factor|0.99 2019-10-06}}
Factor comes with an implementation of Haskell-style monads in the <code>monads</code> vocabulary.
Factor comes with an implementation of Haskell-style monads in the <code>monads</code> vocabulary.
{{works with|Factor|0.99 2019-10-06}}
<lang factor>USING: kernel math math.functions monads prettyprint ;
<lang factor>USING: kernel math math.functions monads prettyprint ;
FROM: monads => do ;
FROM: monads => do ;