[Haskell-cafe] Re: module Crypt_Discordian - code critique requested

Terrence Brannon bauhaus at metaperl.com
Wed Feb 23 05:59:58 EST 2005


Arthur van Leeuwen <arthurvl at cs.uu.nl> writes:

> On Wed, Feb 23, 2005 at 08:46:23AM +0100, Arthur van Leeuwen wrote:
>> On Wed, Feb 23, 2005 at 12:27:19AM +0000, Terrence Brannon wrote:
>
> [snip, encryptia discordia]>
>
>> How about
>> 
>> > module CryptDiscordian
>> > where
>> >
>> > import List
>> >
>> > vowels = "aeiouAEIOU"
>> > isVowel = (flip elem) vowel_list

you use vowel_list but define vowels

also, I believe isVowel is taking advantage of a curried version of
elem. Correct?

-- 
	Carter's Compass: I know I'm on the right track when,
	   by deleting something, I'm adding functionality.



More information about the Haskell-Cafe mailing list