Re: need hint for A nil key on 4clojure

2012-03-02 Thread weiyongq
thanks On 2月29日, 下午10时00分, Roman Perepelitsa roman.perepeli...@gmail.com wrote: Most 4clojure exercises are meant for you to familiarize yourself with the clojure standard library. Usually you'll spend more time looking for the appropriate function on clojuredocs than actually coding the

need hint for A nil key on 4clojure

2012-02-29 Thread weiyongq
A nil key http://www.4clojure.com/problem/134 l look it no Elementary.please give me some help. -- 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 Note that posts from new members are

Re: need hint for A nil key on 4clojure

2012-02-29 Thread Kevin Ilchmann Jørgensen
So, you need to give it a function which takes an key and a collection. (fn [k coll] ...) It should return true if two things are true. That the collection _contains_ the key, and the key is _nil_ Enjoy! /Kevin On Wed, Feb 29, 2012 at 7:15 AM, weiyongq weiyo...@gmail.com wrote: A nil key

Re: need hint for A nil key on 4clojure

2012-02-29 Thread Roman Perepelitsa
Most 4clojure exercises are meant for you to familiarize yourself with the clojure standard library. Usually you'll spend more time looking for the appropriate function on clojuredocs than actually coding the solution. Here's the section on collections: