reader writer state monad - how to run this scala code

Viewed 2665

Tony Morris gave a talk with this snippet.

He's using ReaderWriterState monad to provide controlled read/write access to an implicit context. That makes sense.

How do I use the code? I would like to see an example "main" program that uses this monad.

1 Answers
Related