read expects strings to be quoted:<br><br>Prelude&gt; read &quot;\&quot;1234\&quot;&quot; :: String<br>&quot;1234&quot;<br><br><br><div class="gmail_quote">On Sat, Aug 6, 2011 at 19:57, michael rice <span dir="ltr">&lt;<a href="mailto:nowgate@yahoo.com">nowgate@yahoo.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><table cellpadding="0" cellspacing="0" border="0"><tbody><tr><td style="font:inherit" valign="top"><div><div>Prelude&gt; read &quot;1234&quot; :: Int</div>

<div>1234</div><div>Prelude&gt; read &quot;1234&quot; :: String</div><div>&quot;*** Exception: Prelude.read: no parse</div></div><div><br></div><div>Why?</div><div><br></div><font color="#888888"><div>Michael</div><div><br>

</div></font></td></tr></tbody></table><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><br><br clear="all"><br>-- <br>Scott Lawrence<br><br><br><br>