Hello everyone, I have a simple question here
isLower :: Char -> Bool
which returns True
if a given character is a lower case letter. You can use the fact that characters are ordered, and for all lower case letters ch we have ′a′ ≤ ch and ch ≤ ′z′. Alternatively, you can use the fact that ['a'..'z']
evaluates to a list containing all lower case letters.