Sha256: 8d99f40af4d5d01221ff91867aabc8b0dd4014b2ea497b0a17cc30f510db906b
Contents?: true
Size: 466 Bytes
Versions: 303
Compression:
Stored size: 466 Bytes
Contents
## Hints In this exercise, we provided the definition of the [algebric data type](http://learnyouahaskell.com/making-our-own-types-and-typeclasses) named `Planet`. You need to implement the `ageOn` function, that calculates how many years old someone would be on a `Planet`, given an age in seconds. Your can use the provided signature if you are unsure about the types, but don't let it restrict your creativity: ```haskell ageOn :: Planet -> Float -> Float ```
Version data entries
303 entries across 303 versions & 1 rubygems