MonadWriter typeclass #93

Closed
wants to merge 18 commits into
from

Projects

None yet

1 participant

Contributor
YoEight commented May 22, 2012

Partially a port from Haskell MonadWriter.

It pemits to use Writer Monad Transformer computation without type annotations nightmare

This comes with two implementations: WriterT and ValidationT

Here an example https://gist.github.com/2771406

@YoEight YoEight closed this May 23, 2012
Contributor
YoEight commented May 23, 2012

I'll make a new branch for avoiding this long commit list.

BTW, after studying on Unapply typeclass, I think I could come up with a nicer syntax by provinding an MonadWriterOps typeclass with those methods:

:++>
:++>>
<++:
<<++:
... and so on, just like WriterT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment