proving the monad laws