You are looking for a module (not a data type) Data.Charthat defines isLower:
Prelude> map Data.Char.isLower "abcD"
[True,True,True,False]
You can also leave it loaded in GHCi, so you do not need to specify a module every time you use its functions:
Prelude> :m +Data.Char
Prelude Data.Char> map isLower "abcD"
[True,True,True,False]
source
share