Code and slides for Codemania 'Monads to the Rescue' presentation