
29 Nov
2009
29 Nov
'09
12:45 p.m.
2009/11/29 legajid
Another trick : how can i calculate consonnes with a method that makes the difference between the two lists [a..z] and voyelles, rather than writing each consonant. As we can append two lists (++), can we compute the difference between lists, i.e. delete from the first list the elements that are present in the second one ?
Use Data.List.\\ ['a'..'z'] \\ "aoeui" ==> "bcdfghjklmnpqrstvwxyz" -- Deniz Dogan