Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defn counter ([lst] (counter lst 0))
- ([lst ind]
- (when (nil? lst)
- ind
- (recur (rest lst) (inc ind)))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement