<div dir="ltr">On Tue, Sep 11, 2012 at 1:52 AM, Stayvoid <span dir="ltr">&lt;<a href="mailto:stayvoid@gmail.com" target="_blank">stayvoid@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">&gt; Probably an alias for backward compatibility; isAlpha is C-style &lt;ctype.h&gt;<br>
&gt; stuff, which was ASCII only, whereas isLetter is Unicode style.<br>
<br>
</div>Both Haskell functions support non-ASCII chars.<br>
Does it refute your assumption?<br></blockquote><div><br></div><div>No, it demonstrates I need to be more explicit for some people.</div><div><br></div><div>I did not say isAlpha is ASCII-only, I said it was *created* in an ASCII-only time when &quot;isAlpha&quot; was (the Haskell version of) the common name for the operation.  When the Char type became a Unicode codepoint instead of an ASCII character, isAlpha would naturally have been widened to match *and* the corresponding Unicode standard name was imported.  Leaving it as is would have introduced bugs (of the sort that the GHC I/O subsystem had until ghc 6.12 or thenabouts, when it was finally made to use UTF8 instead of &quot;ASCII&quot;/ISO 8859-1).</div>
<div><br></div></div>-- <br>brandon s allbery                                      <a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a><br>wandering unix systems administrator (available)     (412) 475-9364 vm/sms<br>
<br>
</div>