<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><blockquote type="cite"><div><blockquote type="cite"><blockquote type="cite"><font class="Apple-style-span" color="#000000"><br></font><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> and what you mean is presumably that 'is_vowel' is a function that<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> returns 'true' if its argument is a member of the list "aeiou",<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> otherwise 'false'.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> the fact that this is a fairly common task is of course the reason<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> why lists:member/2 exists in the first place. so by not using<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> lists:member/2 here, you are obfuscating the fact that you are<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> indeed testing if something is a member of a list.<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Well, if you want to be pedantic, that's completely wrong. There's <br></blockquote><blockquote type="cite">nothing list-like about the collection of vowels. It's a set.<br></blockquote><br> i believe a list without duplicates is a set. no?<br></div></blockquote></div><br><div>Almost, but not exactly. But since your goal was to eschew obfuscation, why would you rely on the maintainer of the code noticing there are no duplicates, when instead you could express the constraint explicitly by using the proper data structure?</div><div><br></div><div>-kevin</div></body></html>