
isLower is not in the Prelude (the automatically imported module built-in
functions). Here's the list of all functions in Prelude:
http://hackage.haskell.org/package/base/docs/Prelude.html
isLower is in another module. You can figure that out by searching for
"isLower" on Hoogle:
http://www.haskell.org/hoogle/
You can even find it by searching for it by type, which is useful if you
don't remember the precise name. Try searching for "Char -> Bool".
In other words, you'll need to import isLower from somewhere before you can
use it.
On Sun, Mar 2, 2014 at 10:45 AM, Roelof Wobben
Hello,
I try to selfstudy haskell by following the yet another haskell tutorial.
Now I have the exercise where I have a string and have to convert it into a list of Booleans based on lower cats letter using map.
So i tried this
x = "aBCde".islower:[]
But I see this error : Not in Scope: 'isLower'.
Where do I make my error.
Do not give the answer otherwise I do not learn anything from it.
Roelof
--- Dit e-mailbericht bevat geen virussen en malware omdat avast! Antivirus-bescherming actief is. http://www.avast.com
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners