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.139 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.138 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.137 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.136 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.135 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.134 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.133 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.132 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.131 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.130 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.129 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.128 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.127 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.126 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.125 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.124 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.123 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.122 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.121 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.120 tracks/haskell/exercises/space-age/src/SpaceAge.hs