[Haskell-cafe] module Crypt_Discordian - code critique requested
lemming at henning-thielemann.de
Wed Feb 23 11:07:37 EST 2005
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
More information about the Haskell-Cafe