In Haskell, the function Data.Char.isAlpha checks if a character is a letter, but so does Data.Char.isLetter. Is there any real difference between these functions, or are they interchangeable?
In Haskell, the function Data.Char.isAlpha checks if a character is a letter, but so
Share
Looking at the sources they appear to be equivalent.
Here is the definition of
isLetteras defined in 4.3.1.0And the definition of
isAlpha:They appear to have different implementations, but they are documented to have the same effect.