On Saturday, 15 December 2012 17:42:05 UTC+10, puzzler wrote:
>
> (I took the liberty of replacing #(= \a %) with #{\a})
>
> On Fri, Dec 14, 2012 at 11:37 PM, Mark Engelberg
> <[email protected]<javascript:>
> > wrote:
>
>> (comp (partial apply str) (partial filter #{\a}))
>>
>
>
Puzzler,
Your change replaces the single argument function with a single element
set. This is because a set is a function of its members, returning true if
an argument is a member of the set?
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
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