#{"aeiou"} is the set containing the String "aeiou". You want
#{\a \e \i \o \u}

On Jan 23, 4:04 pm, Mark Volkmann <r.mark.volkm...@gmail.com> wrote:
> On Fri, Jan 23, 2009 at 2:51 PM, Chouser <chou...@gmail.com> wrote:
>
> > On Fri, Jan 23, 2009 at 3:47 PM, Mark Volkmann
> > <r.mark.volkm...@gmail.com> 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 clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to