[project @ 2004-11-12 15:17:42 by simonmar]
[ghc-hetmet.git] / ghc / docs / users_guide / bugs.xml
index 6a07c90..07ed08d 100644 (file)
@@ -145,6 +145,20 @@ checking for duplicates.  The reason for this is efficiency, pure and simple.
                octal escapes, so it seems inconsistent not to do so for integers too.</para>
            </listitem>
          </varlistentry>
+
+         <varlistentry>
+           <term><literal>isAlpha</literal></term>
+           <listitem>
+             <para>The Haskell 98 definition of <literal>isAlpha</literal>
+              is:</para>
+
+<programlisting>isAlpha c = isUpper c || isLower c</programlisting>
+
+             <para>GHC's implementation diverges from the Haskell 98
+              definition in the sense that Unicode alphabetic characters which
+              are neither upper nor lower case will still be identified as
+              alphabetic by <literal>isAlpha</literal>.</para>
+           </listitem>
        </variablelist>
     </sect3>
   </sect2>