[String]->[[Bool]]

Ketil Z. Malde ketil@ii.uib.no
13 Aug 2003 13:19:41 +0200


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

> a string is a list of Char which can be '1', '0', '/n'=A0and spaces ' '. =
["1 0 1 0
> 0 1 /n"]

...so why not start with a converter from Char to Bool, and build
String -> [Bool] from that, and finally [String] -> [[Bool]]?

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