Slightly modified code from this blog post: IO is Your Command Pattern
Command pattern is almost a Monad, like everything else.
http://www.alexeyshmalko.com/2015/io-is-your-command-pattern/
Slightly modified code from this blog post: IO is Your Command Pattern
Command pattern is almost a Monad, like everything else.
http://www.alexeyshmalko.com/2015/io-is-your-command-pattern/