Re: examples using built-in state monad