<div class="gmail_quote"><div><br><br><div class="gmail_quote">On Fri, Oct 22, 2010 at 9:35 AM, Sittampalam, Ganesh <span dir="ltr">&lt;<a href="mailto:ganesh.sittampalam@credit-suisse.com">ganesh.sittampalam@credit-suisse.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">Bit Connor wrote:<br>
&gt; On Sat, Oct 16, 2010 at 10:29 AM, Claus Reinke<br>
&gt; &lt;<a href="mailto:claus.reinke@talk21.com">claus.reinke@talk21.com</a>&gt; wrote:<br>
&gt;&gt;&gt; After it catches this error, the function returns (line 376):<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; return (fail (show e))<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; The &quot;fail&quot; is running in the Either monad (The Result type =<br>
&gt;&gt;&gt; Either). This calls the default Monad implementation of fail, which<br>
&gt;&gt;&gt; is just a call to plain old error. This basically causes the entire<br>
&gt;&gt;&gt; program to crash.<br>
&gt;&gt;<br>
&gt;&gt;&gt; Actually, it appears that simpleHTTP isn&#39;t actually supposed to<br>
&gt;&gt;&gt; throw an IOException, and it is instead supposed to return a<br>
&gt;&gt;&gt; ConnError result. So the real fix is to fix the code to make this<br>
&gt;&gt;&gt; happen. But<br>
&gt;&gt;<br>
&gt;&gt; Sounds like a victim of<br>
&gt;&gt;   <a href="http://hackage.haskell.org/trac/ghc/ticket/4159" target="_blank">http://hackage.haskell.org/trac/ghc/ticket/4159</a><br>
&gt;&gt;<br>
&gt;&gt; For mtl clients, &#39;fail&#39; for &#39;Either&#39; used to call &#39;Left&#39;. That was<br>
&gt;&gt; changed, though the ticket does not indicate the library versions<br>
&gt;&gt; affected.<br>
&gt;<br>
&gt; This looks like the problem. Any idea how to get the HTTP package<br>
&gt; fixed? I could try making a patch myself, but I would prefer hearing<br>
&gt; from the HTTP maintainer first, who doesn&#39;t seem to be around.<br>
 </div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I&#39;ve tried contacting him a few times about getting the base dependencies in HTTP bumped and an upload made, without success. This is a widely used package that&#39;s in the platform and that won&#39;t work with GHC 7.0 with the current dependencies, so it really needs to get fixed soon. </blockquote>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
libraries@, what&#39;s the right way to proceed? Can I make a Debian-style &quot;non-maintainer upload&quot; with minimal changes to fix urgent issues like these?<br></blockquote><div><br></div><div>I&#39;d be much obliged if you could, and I do apologise for leaving all of this just hanging.</div>
<div><br></div><div>No time available for Haskell projects these days unfortunately, Opera engine development taking up most of my waking hours. Getting someone to take over HTTP would be best, or maybe rewrite it altogether..it is not the prettiest thing around :)</div>
<div><br></div><div>--sigbjorn</div><div><br></div></div><br>
</div></div><br>