
23 Feb
2005
23 Feb
'05
11:07 a.m.
On Wed, 23 Feb 2005, Jacques Carette wrote:
I would likely write
module Foo where
vowel_list = "aeiouAEIOU"
split_vowels = partition (`elem` vowel_list)
tuple_to_list t = fst t ++ snd t
remove_spaces = filter (/= ' ')
encrypt = List.sort . tuple_to_list . split_vowels . remove_spaces
instead. But I have this feeling that tuple_to_list is probably already in the library, I just missed it.
do you mean uncurry (++) ?