<div dir="ltr">Yes, that GHC ticket shows that this problem is well known.<div><br></div><div>Thank you.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 30, 2013 at 2:19 AM, Ben Lippmeier <span dir="ltr">&lt;<a href="mailto:benl@ouroborus.net" target="_blank">benl@ouroborus.net</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"><br>
On 30/08/2013, at 2:38 AM, Daniel Díaz Casanueva wrote:<br>
<br>
&gt; While hacking in one of my projects, one of my modules stopped to compile for apparently no reason. The compiler just freezes (like if it where in an infinite loop) while trying to compile that particular module. Since I had this problem I have been trying to reduce the problem as much as I could, and I came out with this small piece of code:<br>

&gt;<br>
&gt; &gt; module Blah (foo) where<br>
&gt;<br>
&gt; &gt; import Data.Vector (Vector)<br>
&gt; &gt; import qualified Data.Vector as V<br>
&gt;<br>
&gt; &gt; foo :: (a -&gt; a) -&gt; Vector a -&gt; Vector a<br>
&gt; &gt; foo f = V.fromList . V.foldl (\xs x -&gt; f x : xs) []<br>
<br>
</div>Probably an instance of this one:<br>
<br>
<a href="http://ghc.haskell.org/trac/ghc/ticket/5550" target="_blank">http://ghc.haskell.org/trac/ghc/ticket/5550</a><br>
<span class="HOEnZb"><font color="#888888"><br>
Ben.<br>
<br>
</font></span></blockquote></div><br></div>