I transfered my code from 0.3 to 0.4 without any changes. There are type synonyms in Conduit for that.<div><br></div><div>Changes were from 0.2 to 0.3. Michael discribed it here</div><div><a href="http://www.yesodweb.com/blog/2012/03/announcing-conduit-0-3">http://www.yesodweb.com/blog/2012/03/announcing-conduit-0-3</a> </div>
<div><br></div><div>Actually, in 0.4</div><div><br></div><div>no changes with Control.Monad.Trans.Resource.</div><div>type Source m a = Pipe Void a m ()</div><div>old Conduit-API use type synonyms and not changed</div><div>
<br></div><div><br></div><div><br><br><div class="gmail_quote">2012/4/9 Erik de Castro Lopo <span dir="ltr">&lt;<a href="mailto:mle%2Bhs@mega-nerd.com">mle+hs@mega-nerd.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
Is there some sort of a guide for converting existing code Conduit 0.4?<br>
<br>
What happened to Control.Monad.Trans.Resource.with?<br>
<br>
What happens to stuff that used to to have a type &quot;C.Source m a&quot; which<br>
now seems to need type &quot;C.Pipe Void a (ResourceT m) a&quot;?<br>
<br>
Cheers,<br>
Erik<br>
<span class="HOEnZb"><font color="#888888">--<br>
----------------------------------------------------------------------<br>
Erik de Castro Lopo<br>
<a href="http://www.mega-nerd.com/" target="_blank">http://www.mega-nerd.com/</a><br>
<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</font></span></blockquote></div><br></div>