Sha256: c53ec2ca67e6e94206e1798f90286709cacb5d3c2b877f4a76a66335fc6ac415
Contents?: true
Size: 177 Bytes
Versions: 165
Compression:
Stored size: 177 Bytes
Contents
primitive Leap fun apply(year: USize): Bool => let has_factor = {(n: USize)(year): Bool => (year % n) == 0} has_factor(4) and (not has_factor(100) or has_factor(400))
Version data entries
165 entries across 165 versions & 1 rubygems