Hi David, Am 02.03.2009 um 13:54 schrieb David Sletten:
Does Clojure have an analog of Lisp's MEMBER function? (member 'a '(c a f e b a b e)) => (A F E B A B E)
I don't know the member function of CL, but I interpret your example, that it cuts away the head of the list until the first occurence of the given thing. You can do that in Clojure with drop-while: (drop-while #(not= % :a) (list :c :a :f :e :b :a :b :e)) => (:a :f :e :b :a :b :e) Hope this helps. Sincerely Meikel
smime.p7s
Description: S/MIME cryptographic signature