Sha256: 823f8b1edfca98989d010f0848a19dfbecf81a3ad489df9ef755d0bc1bb95be9
Contents?: true
Size: 272 Bytes
Versions: 396
Compression:
Stored size: 272 Bytes
Contents
;;; leap.el --- Leap exercise (exercism) ;;; Commentary: ;;; Code: (defun leap-year-p (year) "Determine if YEAR is a leap year." (and (= 0 (mod year 4)) (or (not (= 0 (mod year 100))) (= 0 (mod year 400))))) (provide 'leap) ;;; leap.el ends here
Version data entries
396 entries across 396 versions & 1 rubygems