Sha256: 9ffa9f6e2805199a17ea21782c0666561effc4cf431e45fa9a5271e9dd5ad999

Contents?: true

Size: 129 Bytes

Versions: 330

Compression:

Stored size: 129 Bytes

Contents

module Leap exposing (..)


isLeapYear : Int -> Bool
isLeapYear year =
    year % 4 == 0 && (year % 100 /= 0 || year % 400 == 0)

Version data entries

330 entries across 330 versions & 1 rubygems

Version Path
trackler-2.2.1.113 tracks/elm/exercises/leap/Leap.example.elm
trackler-2.2.1.111 tracks/elm/exercises/leap/Leap.example.elm
trackler-2.2.1.110 tracks/elm/exercises/leap/Leap.example.elm
trackler-2.2.1.109 tracks/elm/exercises/leap/Leap.example.elm
trackler-2.2.1.108 tracks/elm/exercises/leap/Leap.example.elm
trackler-2.2.1.107 tracks/elm/exercises/leap/Leap.example.elm
trackler-2.2.1.106 tracks/elm/exercises/leap/Leap.example.elm
trackler-2.2.1.105 tracks/elm/exercises/leap/Leap.example.elm
trackler-2.2.1.104 tracks/elm/exercises/leap/Leap.example.elm
trackler-2.2.1.103 tracks/elm/exercises/leap/Leap.example.elm
trackler-2.2.1.102 tracks/elm/exercises/leap/Leap.example.elm
trackler-2.2.1.101 tracks/elm/exercises/leap/Leap.example.elm
trackler-2.2.1.100 tracks/elm/exercises/leap/Leap.example.elm
trackler-2.2.1.99 tracks/elm/exercises/leap/Leap.example.elm
trackler-2.2.1.98 tracks/elm/exercises/leap/Leap.example.elm
trackler-2.2.1.97 tracks/elm/exercises/leap/Leap.example.elm
trackler-2.2.1.96 tracks/elm/exercises/leap/Leap.example.elm
trackler-2.2.1.95 tracks/elm/exercises/leap/Leap.example.elm
trackler-2.2.1.94 tracks/elm/exercises/leap/Leap.example.elm
trackler-2.2.1.93 tracks/elm/exercises/leap/Leap.example.elm