Sha256: ae8ba7e085b6c7525a0c627e2be7fdbbdf12328063a02dc938478cc07c67522f

Contents?: true

Size: 313 Bytes

Versions: 329

Compression:

Stored size: 313 Bytes

Contents

module SpaceAge (Planet(..), ageOn) where

data Planet = Mercury
            | Venus
            | Earth
            | Mars
            | Jupiter
            | Saturn
            | Uranus
            | Neptune

ageOn :: Planet -> Float -> Float
ageOn planet seconds = error "You need to implement this function."

Version data entries

329 entries across 329 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.179 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.178 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.177 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.176 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.175 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.174 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.173 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.172 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.171 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.170 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.169 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.167 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.166 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.165 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.164 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.163 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.162 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.161 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.160 tracks/haskell/exercises/space-age/src/SpaceAge.hs