Re: last and nth are "bad"?

2011-06-10 Thread clojurefanxx
essages "last is bad!" or "nth is bad!" probably just meant "last is forbidden!' or "nth is forbidden!". My bad! Sorry ... On Jun 9, 10:50 pm, clojurefanxx wrote: > i'm a newbie working thru 4clojure.com's problems #19 thru #21 where > i&#

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 good