[Haskell-cafe] Combining LoggingT with another library's monad

Tom Ellis tom-lists-haskell-cafe-2013 at jaguarpaw.co.uk
Wed Sep 24 15:08:08 UTC 2014


On Wed, Sep 24, 2014 at 10:50:05AM -0400, Joe Fiorini wrote:
> I added LoggingT to the top of my monad stack, but ran into lots of
> problems and moved the LoggingT type to one of my route handlers (you
> can see my latest attempt & the compiler error here
> https://gist.github.com/joefiorini/9e89bdf86e28e6b98bf0).

Don't you want `lift` instead of `return` in `handleHome`?


More information about the Haskell-Cafe mailing list