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
![]() |
Dit e-mailbericht bevat geen virussen en malware omdat avast! Antivirus actief is. |