On Fri, Jan 23, 2009 at 2:51 PM, Chouser <[email protected]> wrote:
>
> On Fri, Jan 23, 2009 at 3:47 PM, Mark Volkmann
> <[email protected]> wrote:
>>
>> (contains? "aeiou" letter)
>>
>> but that doesn't work either.
>
> user=> (some (set "aeiou") "dn'tndthsstinkngvwls")
> \i
Why does this work
(some (set "aeiou") "e")
but this doesn't
(some #{"aeiou"} "e")
I thought (set ...) was equivalent to #{...}.
> Or, if you must,
>
> user=> (clojure.contrib.seq-utils/includes? "aeiou" \o)
> true
--
R. Mark Volkmann
Object Computing, Inc.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---