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.159 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.158 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.157 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.156 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.155 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.154 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.153 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.152 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.151 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.150 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.149 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.148 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.147 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.146 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.145 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.144 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.143 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.142 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.141 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.140 tracks/haskell/exercises/space-age/src/SpaceAge.hs