SHARE
TWEET

Untitled

a guest Sep 11th, 2012 25 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (defn counter [init-lst]
  2.   (loop [c 0, lst init-lst]
  3.     (if (empty? lst)
  4.       c
  5.       (recur (rest lst) (inc c)))))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top