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

Dmitry Olshansky olshanskydr at gmail.com
Mon Apr 9 12:33:46 CEST 2012


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

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




2012/4/9 Erik de Castro Lopo <mle+hs at mega-nerd.com>

> Hi all,
>
> Is there some sort of a guide for converting existing code Conduit 0.4?
>
> What happened to Control.Monad.Trans.Resource.with?
>
> What happens to stuff that used to to have a type "C.Source m a" which
> now seems to need type "C.Pipe Void a (ResourceT m) a"?
>
> Cheers,
> Erik
> --
> ----------------------------------------------------------------------
> Erik de Castro Lopo
> http://www.mega-nerd.com/
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120409/75a041f2/attachment.htm>


More information about the Haskell-Cafe mailing list