[Haskell-cafe] Guide for converting existing code to Conduit 0.4?

Erik de Castro Lopo mle+hs at mega-nerd.com
Mon Apr 9 12:48:48 CEST 2012

Dmitry Olshansky wrote:

> I transfered my code from 0.3 to 0.4 without any changes. There are type
> synonyms in Conduit for that.
> Changes were from 0.2 to 0.3. Michael discribed it here
> http://www.yesodweb.com/blog/2012/03/announcing-conduit-0-3

Ok, so Control.Monad.Trans.Resource.with gets replaced with

> Actually, in 0.4
> no changes with Control.Monad.Trans.Resource.
> type Source m a = Pipe Void a m ()
> old Conduit-API use type synonyms and not changed

My code has a lot of low level Conduit stuff and hence I run into
a bunch of the lower level issues.

Erik de Castro Lopo

More information about the Haskell-Cafe mailing list