Send Beginners mailing list submissions to beginners@haskell.org To subscribe or unsubscribe via the World Wide Web, visit http://www.haskell.org/mailman/listinfo/beginners or, via email, send a message with subject or body 'help' to beginners-requ...@haskell.org
You can reach the person managing the list at beginners-ow...@haskell.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Beginners digest..." Today's Topics: 1. Re: Data.Char: isAlpha vs. isLetter (Joey Hess) 2. Re: Data.Char: isAlpha vs. isLetter (Stayvoid) ---------------------------------------------------------------------- Message: 1 Date: Tue, 11 Sep 2012 01:49:19 -0400 From: Joey Hess <j...@kitenet.net> Subject: Re: [Haskell-beginners] Data.Char: isAlpha vs. isLetter To: beginners <beginners@haskell.org> Message-ID: <20120911054919.ga7...@gnu.kitenet.net> Content-Type: text/plain; charset="us-ascii" Brandon Allbery wrote: > Probably an alias for backward compatibility; isAlpha is C-style <ctype.h> > stuff, which was ASCII only, whereas isLetter is Unicode style. Prelude Data.Char> all (\c -> isLetter c == isAlpha c) [minBound..maxBound] True Whew! You had me worried my code had unicode bugs. isAlpha == isLetter -- see shy jo -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 828 bytes Desc: Digital signature URL: <http://www.haskell.org/pipermail/beginners/attachments/20120911/ec32fa57/attachment-0001.pgp> ------------------------------ Message: 2 Date: Tue, 11 Sep 2012 09:52:05 +0400 From: Stayvoid <stayv...@gmail.com> Subject: Re: [Haskell-beginners] Data.Char: isAlpha vs. isLetter To: beginners <beginners@haskell.org> Message-ID: <cak5fs_gqwj49hcmzn6g2skn5eo4rsh7fchmd8oyvadmjsbf...@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 > Probably an alias for backward compatibility; isAlpha is C-style <ctype.h> > stuff, which was ASCII only, whereas isLetter is Unicode style. Both Haskell functions support non-ASCII chars. Does it refute your assumption? Thanks ------------------------------ _______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners End of Beginners Digest, Vol 51, Issue 15 *****************************************