[Haskell-cafe] MonadBaseControl IO instance for conduits ?

Aleksey Uymanov s9gf4ult
Fri Oct 11 16:16:52 UTC 2013

Hello Haskellers! 

Is it posible to create instance of MonadBaseControl IO (ConduitM i o m) ?

This would give a great posibility to catch exceptions just inside the
ConduitM monad with "lifted-base" package. And more, http-conduit's
`withManager` restricts base monad (which must be base for ConduitM)
with MonadBaseControl IO.

Aleksey Uymanov <s9gf4ult at gmail.com>

More information about the Haskell-Cafe mailing list