diff options
Diffstat (limited to 'wri.hs')
-rw-r--r-- | wri.hs | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -0,0 +1,8 @@ +import Control.Monad.Writer + +example :: Writer [Int] String +example = do + tell [1..5] + tell [6..10] + return "foo" + |