Sha256: 5b00ad4afd20c2822c52c5bca3fc96311f4c3f4297f9d50a8b3208fd8e6a0313

Contents?: true

Size: 146 Bytes

Versions: 364

Compression:

Stored size: 146 Bytes

Contents

module Leap where

import Prelude

isLeapYear :: Int -> Boolean
isLeapYear year =
  mod year 4 == 0 &&
  mod year 100 /= 0 ||
  mod year 400 == 0

Version data entries

364 entries across 364 versions & 1 rubygems

Version Path
trackler-2.2.1.98 tracks/purescript/exercises/leap/examples/src/Leap.purs
trackler-2.2.1.97 tracks/purescript/exercises/leap/examples/src/Leap.purs
trackler-2.2.1.96 tracks/purescript/exercises/leap/examples/src/Leap.purs
trackler-2.2.1.95 tracks/purescript/exercises/leap/examples/src/Leap.purs
trackler-2.2.1.94 tracks/purescript/exercises/leap/examples/src/Leap.purs
trackler-2.2.1.93 tracks/purescript/exercises/leap/examples/src/Leap.purs
trackler-2.2.1.92 tracks/purescript/exercises/leap/examples/src/Leap.purs
trackler-2.2.1.91 tracks/purescript/exercises/leap/examples/src/Leap.purs
trackler-2.2.1.90 tracks/purescript/exercises/leap/examples/src/Leap.purs
trackler-2.2.1.89 tracks/purescript/exercises/leap/examples/src/Leap.purs
trackler-2.2.1.88 tracks/purescript/exercises/leap/examples/src/Leap.purs
trackler-2.2.1.87 tracks/purescript/exercises/leap/examples/src/Leap.purs
trackler-2.2.1.86 tracks/purescript/exercises/leap/examples/src/Leap.purs
trackler-2.2.1.85 tracks/purescript/exercises/leap/examples/src/Leap.purs
trackler-2.2.1.84 tracks/purescript/exercises/leap/examples/src/Leap.purs
trackler-2.2.1.83 tracks/purescript/exercises/leap/examples/src/Leap.purs
trackler-2.2.1.82 tracks/purescript/exercises/leap/examples/src/Leap.purs
trackler-2.2.1.81 tracks/purescript/exercises/leap/examples/src/Leap.purs
trackler-2.2.1.80 tracks/purescript/exercises/leap/examples/src/Leap.purs
trackler-2.2.1.79 tracks/purescript/exercises/leap/examples/src/Leap.purs