Re: last and nth are bad?

2011-06-10 Thread clojurefanxx
is bad! probably just meant last is forbidden!' or nth is forbidden!. My bad! Sorry ... On Jun 9, 10:50 pm, clojurefanxx neuzhou...@gmail.com wrote: i'm a newbie working thru 4clojure.com's problems #19 thru #21 where i'm asked to write a function, which when given a list or vector, returns

last and nth are bad?

2011-06-09 Thread clojurefanxx
i'm a newbie working thru 4clojure.com's problems #19 thru #21 where i'm asked to write a function, which when given a list or vector, returns the last, penultimate, or an arbitrary nth element, respectively. for problem #19 (return last element), using the function last was not accepted as a