Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (defn my-min [& args]
  2.   (reduce #(if (< % %2) % %2) args)
  3.  
  4. (defn my-min-long [& args]
  5.   (reduce (fn [x y]
  6.             (if (< x y)
  7.               x
  8.               y))
  9.           args))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement