Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (fn max-num-finder
- [& coll]
- (if (empty? coll)
- cur-max
- (recur (if(>(first coll)cur-max) (first coll) cur-max) (rest coll))))
- ;I want to bind cur-max to the first item in the coll, but only on the very first function call. how?
Advertisement
Add Comment
Please, Sign In to add comment