Task

Determine whether a given year is a leap year in the Gregorian calendar.



See also

 Leap year (wiki)


(defn leap-year? [y]
  (and (zero? (mod y 4)) (or (pos? (mod y 100)) (zero? (mod y 400)))))