[Haskell-beginners] where do i get wrong

Emanuel Koczwara poczta at emanuelkoczwara.pl
Sun Mar 2 20:12:03 UTC 2014


Hi,

W dniu 02.03.2014 21:06, Roelof Wobben pisze:
> Thanks.
>
> This does the job :
>
> import Data.Char
>
> x = map isLower "ABCde":[]
> -- Note that comments are preceded by two hyphens
> {- or enclosed
>    in curly brace/hypens pairs. -}
> main = print x
>

   You have a list of lists of booleans: [[Bool]]. You should get a list 
of booleans: [Bool] instead.

Regards,
Emanuel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20140302/51a4e658/attachment.html>


More information about the Beginners mailing list