Monads/Writer monad: Difference between revisions
m
→{{header|Raku}}: enable syntax highlighting
(added Raku programming solution) |
Thundergnat (talk | contribs) m (→{{header|Raku}}: enable syntax highlighting) |
||
Line 781:
Basic semantic borrowed from the Monads/List monad entry
{{trans|Go}}
<lang
class Writer { has Numeric $.value ; has Str $.log }
|