Commit d56e0dc8 authored by simonpj's avatar simonpj
Browse files

[project @ 2003-04-09 08:44:37 by simonpj]

parent cf31797e
...@@ -191,6 +191,8 @@ main = print (array (1,1) [(1,2), (1,3)])</programlisting> ...@@ -191,6 +191,8 @@ main = print (array (1,1) [(1,2), (1,3)])</programlisting>
98 report doesn't). So, for example, 98 report doesn't). So, for example,
<programlisting>read "0xf00" :: Int</programlisting> <programlisting>read "0xf00" :: Int</programlisting>
works in GHC.</para> works in GHC.</para>
<para>A possible reason for this is that <literal>readLitChar</literal> accepts hex and
octal escapes, so it seems inconsistent not to do so for integers too.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
</variablelist> </variablelist>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment