Found this one:
This is partly working:
import Data.Char
x = "aBCde".isLower
-- Note that comments are preceded by two hyphens
{- or enclosed
in curly brace/hypens pairs. -}
main = print x
But now I see this error:
-
Main.hs@3:5-3:12
Couldn't match expected
type `b0 -> c0' with actual type `[Char]' In the
first argument of `(.)', namely `"aBCde"' In the
expression: "aBCde" . isLower In an equation for
`x': x = "aBCde" . isLower
-
In an equation for `x': x =
"aBCde" . isLower
Roelof