<p dir="ltr">Right, it was fixed in GHC 7.4.2. </p>
<p dir="ltr"><a href="http://hackage.haskell.org/trac/ghc/ticket/5688">hackage.haskell.org/trac/ghc/ticket/5688</a></p>
<p dir="ltr">The trouble with old behaviour was that it had been creating a security breach (anybody could pass &quot;1e100000000000&quot; where an Integer was expected and cause a segmentation fault).</p>
<div class="gmail_quote">15.01.2013 2:41 пользователь &quot;Arnaud Bailly&quot; &lt;<a href="mailto:arnaud.oqube@gmail.com">arnaud.oqube@gmail.com</a>&gt; написал:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>I am encountering a strange issue while trying to read a string into an integer. <br><br>On windows 7 64bit, I have:<br><br>&gt; read &quot;18780189038289e49&quot; :: Integer<br>=187801890382890000000000000000000000000000000000000000000000000<br>

<br>On linux (64bit, libgmp.so.3.5.2) I have:<br><br>&gt; read &quot;18780189038289e49&quot; :: Integer<br>*** Exception: Prelude.read: no parse<br><br>That&#39;s weird and I really have no clue what&#39;s going on. I use ghci 7.4.2 on linux and 7.4.1 on windows.<br>

<br>What am I doing wrong ?<br><br>Arnaud<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>
<br></blockquote></div>