O'Reilly logo

Haskell Cookbook by Yogesh Sajanikar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Working with the Writer monad transformer

In the previous recipe, we worked with the Reader monad transformer. In this recipe, we will work with the Writer monad transformer. Like the Reader monad transformer, the Writer monad transformer is also a restricted version of a state transformer, in which we can only write (but cannot read).

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required