<div dir="ltr">Packages and modules are not the same thing. Packages contain one or more modules, they're typically just units of installation and not so much something you deal with in the code.<div><br></div><div>If the tutorial hasn't talked about importing modules, then it's wrong. Perhaps it's simply ancient and is written for some historical version of Haskell that had these in Prelude? isLower is not part of Prelude, so you must import it from somewhere. The IDE you're using is irrelevant.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Mar 2, 2014 at 11:10 AM, Roelof Wobben <span dir="ltr"><<a href="mailto:r.wobben@home.nl" target="_blank">r.wobben@home.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Thanks, <br>
<br>
isLower is in base package. <br>
The tutorial has not spoken about importing modules.<br>
<br>
I use the IDE of fpcomplete.<br>
<br>
Roelof<br>
<br>
<br>
<br>
Bob Ippolito schreef op 2-3-2014 20:02:<br>
</div><div><div class="h5">
<blockquote type="cite">
<div dir="ltr">isLower is not in the Prelude (the automatically
imported module built-in functions). Here's the list of all
functions in Prelude:
<div><a href="http://hackage.haskell.org/package/base/docs/Prelude.html" target="_blank">http://hackage.haskell.org/package/base/docs/Prelude.html</a><br>
</div>
<div><br>
</div>
<div>isLower is in another module. You can figure that out by
searching for "isLower" on Hoogle:</div>
<div><a href="http://www.haskell.org/hoogle/" target="_blank">http://www.haskell.org/hoogle/</a><br>
</div>
<div><br>
</div>
<div>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".</div>
<div><br>
</div>
<div>In other words, you'll need to import isLower from
somewhere before you can use it.</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Sun, Mar 2, 2014 at 10:45 AM, Roelof
Wobben <span dir="ltr"><<a href="mailto:r.wobben@home.nl" target="_blank">r.wobben@home.nl</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I try to selfstudy haskell by following the yet another
haskell tutorial.<br>
<br>
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.<br>
<br>
So i tried this<br>
<br>
x = "aBCde".islower:[]<br>
<br>
But I see this error : Not in Scope: 'isLower'.<br>
<br>
Where do I make my error.<br>
<br>
Do not give the answer otherwise I do not learn anything
from it.<br>
<br>
Roelof<br>
<br>
<br>
---<br>
Dit e-mailbericht bevat geen virussen en malware omdat
avast! Antivirus-bescherming actief is.<br>
<a href="http://www.avast.com" target="_blank">http://www.avast.com</a><br>
<br>
_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org" target="_blank">Beginners@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Beginners mailing list
<a href="mailto:Beginners@haskell.org" target="_blank">Beginners@haskell.org</a>
<a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a>
</pre>
</blockquote>
<br>
<br><br>
</div></div><hr style="border:none;color:#909090;background-color:#b0b0b0;min-height:1px;width:99%">
<table style="border-collapse:collapse;border:none">
<tbody><tr>
<td style="border:none;padding:0px 15px 0px 8px">
<a href="http://www.avast.com/" target="_blank">
<img border="0" src="http://static.avast.com/emails/avast-mail-stamp.png">
</a>
</td>
<td>
<p style="color:#3d4d5a;font-family:"Calibri","Verdana","Arial","Helvetica";font-size:12pt">
Dit e-mailbericht bevat geen virussen en malware omdat <a href="http://www.avast.com/" target="_blank">avast! Antivirus</a> actief is.
</p>
</td>
</tr>
</tbody></table>
<br>
</div>
<br>_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a><br>
<br></blockquote></div><br></div>