<div dir="ltr"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.499999046325684px;background-color:rgb(255,255,255)">Good to know!</span><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.499999046325684px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.499999046325684px;background-color:rgb(255,255,255)">Thanks,</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.499999046325684px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.499999046325684px;background-color:rgb(255,255,255)">Oren.</div><br><div class="gmail_quote">On Wed, Sep 19, 2012 at 3:27 AM, John Lato <span dir="ltr">&lt;<a href="mailto:jwlato@gmail.com" target="_blank">jwlato@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">&gt; From: Brandon Allbery &lt;<a href="mailto:allbery.b@gmail.com">allbery.b@gmail.com</a>&gt;<br>
<div class="im">&gt;<br>
&gt; On Mon, Sep 17, 2012 at 2:41 PM, Oren Ben-Kiki &lt;<a href="mailto:haskell-oren@ben-kiki.org">haskell-oren@ben-kiki.org</a>&gt;wrote:<br>
&gt;<br>
&gt;&gt; It seems that System.IO.Error no longer exports &quot;try&quot; and that breaks a<br>
&gt;&gt; lot of packages I am using. I am trying to move my code to GHC 7.6.1, and<br>
&gt;&gt; this seems to be a common source of problems (there are other issues,<br>
&gt;&gt; alas...). Is there an ETA to when libraries would be GHC-7.6.1-compatible?<br>
&gt;&gt;<br>
&gt;<br>
&gt; Most of that stuff should be in Control.Exception, fwiw.<br>
<br>
</div>System.IO.Error&#39;s try (and catch) is not the same as that of Control.Exception,<br>
because it only catches IOError&#39;s.  catch is slightly more involved to<br>
change because its type is specified as catching only IOError, whereas<br>
Control.Exception.catch nearly always needs a manual annotation of the<br>
exception type.<br>
<br>
Replacing System.IO.Error.try with System.IO.Error.tryIOError should<br>
work, and is compatible with ghc&#39;s back to 7.2.<br>
<br>
John L<br>
<br>
_______________________________________________<br>
Libraries mailing list<br>
<a href="mailto:Libraries@haskell.org">Libraries@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/libraries" target="_blank">http://www.haskell.org/mailman/listinfo/libraries</a><br>
</blockquote></div><br></div>