thma/LtuPatternFactory

Verify this comment from reddit and provide a fix

thma opened this issue · 1 comments

thma commented

The pipeline example implementation breaks the monad laws! You can't have a counter on the number of binds, because that breaks the law that (>>= return) === id.

thma commented

Fixed, Now I'm using a Logger Monad as example