I'm still learning Haskell and I've started learning Yesod. I pretty much built a blog before I came this silly roadblock.
Whenever I create a new post, I want it take the current system time as its creation time. I understand it's an impure operation and it must go into the IO Monad to be performed. But, in Yesod, your handler is of the type Handler RepHtml. I don't get how you could get the impure value into a pure function without main playing any part.