Send Beginners mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://www.haskell.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1.  where do i get wrong (Roelof Wobben)
   2. Re:  where do i get wrong (Bob Ippolito)
   3. Re:  where do i get wrong (Roelof Wobben)
   4. Re:  where do i get wrong (Bob Ippolito)
   5. Re:  where do i get wrong (Roelof Wobben)


----------------------------------------------------------------------

Message: 1
Date: Sun, 02 Mar 2014 19:45:47 +0100
From: Roelof Wobben <[email protected]>
To: [email protected]
Subject: [Haskell-beginners] where do i get wrong
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

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



------------------------------

Message: 2
Date: Sun, 2 Mar 2014 11:02:05 -0800
From: Bob Ippolito <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] where do i get wrong
Message-ID:
        <cacwmpm_mpyfju-8ni3bq9epwrahq-mtdtnddcniduzvxfry...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

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 <[email protected]> wrote:

> 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
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20140302/004e6192/attachment-0001.html>

------------------------------

Message: 3
Date: Sun, 02 Mar 2014 20:10:02 +0100
From: Roelof Wobben <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] where do i get wrong
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"

An HTML attachment was scrubbed...
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20140302/0675d7d0/attachment-0001.html>

------------------------------

Message: 4
Date: Sun, 2 Mar 2014 11:14:40 -0800
From: Bob Ippolito <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] where do i get wrong
Message-ID:
        <CACwMPm_895nBS6HWBcvjUh+tkVOqsmzJTSf=its7bot9z8t...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

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.

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.


On Sun, Mar 2, 2014 at 11:10 AM, Roelof Wobben <[email protected]> wrote:

>  Thanks,
>
> isLower is in base package.
> The tutorial has not spoken about importing modules.
>
> I use the IDE of fpcomplete.
>
> Roelof
>
>
>
> Bob Ippolito schreef op 2-3-2014 20:02:
>
> 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 <[email protected]> wrote:
>
>> 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
>> [email protected]
>> http://www.haskell.org/mailman/listinfo/beginners
>>
>
>
>
> _______________________________________________
> Beginners mailing 
> [email protected]http://www.haskell.org/mailman/listinfo/beginners
>
>
>
>
> ------------------------------
>    <http://www.avast.com/>
>
> Dit e-mailbericht bevat geen virussen en malware omdat avast! 
> Antivirus<http://www.avast.com/>actief is.
>
>
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20140302/945a3b65/attachment-0001.html>

------------------------------

Message: 5
Date: Sun, 02 Mar 2014 20:24:56 +0100
From: Roelof Wobben <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] where do i get wrong
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"

An HTML attachment was scrubbed...
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20140302/21a89d8b/attachment.html>

------------------------------

Subject: Digest Footer

_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners


------------------------------

End of Beginners Digest, Vol 69, Issue 2
****************************************

Reply via email to