On Fri, Jul 17, 2009 at 4:41 PM, Mark Engelberg wrote:
>
> On Fri, Jul 17, 2009 at 1:32 PM, samppi wrote:
> >
> > Is there a function in clojure.core or clojure.contrib so that:
> > (and (mystery-fn '(a b c d) '(a b))
> >(not (mystery-fn '(a b c d) '(a b d
>
>
> how about something li
Awesome, thanks for the quick answer. I think that it'd be a useful
thing to add to seq-utils or something. :)
On Jul 17, 1:41 pm, Mark Engelberg wrote:
> On Fri, Jul 17, 2009 at 1:32 PM, samppi wrote:
>
> > Is there a function in clojure.core or clojure.contrib so that:
> > (and (mystery-fn '(
On Fri, Jul 17, 2009 at 1:32 PM, samppi wrote:
>
> Is there a function in clojure.core or clojure.contrib so that:
> (and (mystery-fn '(a b c d) '(a b))
> (not (mystery-fn '(a b c d) '(a b d
how about something like:
(defn mystery-fn [l1 l2] (every? identity (map = l1 l2)))
--~--~--