Hi, thank you for the post!
Jordi Aranda
1

That is exactly what I did. I used the Writer monad. All the idea behind this post is to use Writer to do so, and the examples walk you through the process.