<div dir="ltr">On Tue, Sep 11, 2012 at 1:49 AM, Joey Hess <span dir="ltr"><<a href="mailto:joey@kitenet.net" target="_blank">joey@kitenet.net</a>></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">Brandon Allbery wrote:<br>
> Probably an alias for backward compatibility; isAlpha is C-style <ctype.h><br>
> stuff, which was ASCII only, whereas isLetter is Unicode style.<br>
<br>
</div>Prelude Data.Char> all (\c -> isLetter c == isAlpha c) [minBound..maxBound]<br>
True<br>
<br>
Whew! You had me worried my code had unicode bugs.<br></blockquote><div><br></div><div>I phrased it as "*alias* for backward compatibility" for a reason. It should be the same thing, but I expect older versions of Haskell used the older name because it was well established in the pre-Unicode era. (I couldn't say whether it was ever *native*; Haskell did not evolve in a vacuum, there are other languages in its background.)</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>