Roelof, The whole point of something like 4clojure is for you to try to understand how things work and learn how to fix the errors that happen along the way. Open a repl and see what the error tells you. Also, you should have the clojure cheat sheet open to help you find what each function does. If everything fails, then you can come here, tell what you did, paste the error. If you do all that, you will have learned something. You are not helping yourself by asking here on the first problem you find.
Best, Marcelo On Sunday, May 4, 2014 11:42:07 AM UTC-3, Roelof Wobben wrote: > > Hello, > > For 4clojure I have to find the second to last item. > > So I did this: > > (fn secondlast [v] > (get v (-(count v)1))) > > Now it's only failing at this test : (= (__ (list 1 2 3 4 5)) 4) > > Can anyone tell me where I did take the wrong way. > > Roelof > > -- 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 moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.