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.119 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.118 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.117 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.116 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.115 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.114 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.113 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.111 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.110 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.109 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.108 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.107 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.106 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.105 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.104 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.103 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.102 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.101 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.100 tracks/haskell/exercises/space-age/src/SpaceAge.hs
trackler-2.2.1.99 tracks/haskell/exercises/space-age/src/SpaceAge.hs