[String] -> [[Bool]]

Ketil Z. Malde ketil@ii.uib.no
13 Aug 2003 12:02:49 +0200


"Tn X-10n" <kawairashii@hotmail.com> writes:

> i am new wif haskell, i would like to know how can i get a list of
> string and convert it to=A0a list of a list of bool

> [String]-> [[Bool]]

What is the definition of a String?  (I.e. what is a String a list of?)
Write a function to convert one of these to the corresponding Bool.

Then write a function that uses that function to convert a String to a
list of Bool.

And then, in a similar manner, apply it to a list of Strings to
generate a list of lists of Bool.

-kzm
--=20
If I haven't seen further, it is by standing in the footprints of giants