Sha256: d8d282cf59609bf07463e3dfbb87e63bb932af277133c911bd05bbdd4a243b01

Contents?: true

Size: 538 Bytes

Versions: 335

Compression:

Stored size: 538 Bytes

Contents

## Hints

To complete this exercise you need to define the data type `Clock`,
with `Eq`, `Show` and `Num` instances, and implement the functions:

- clockHour
- clockMin
- fromHourMin
- toString

The function `fromInteger`, from `Num`, must convert minutes
to 24 hour clock time. It is not necessary to have a sensible
implementation of `abs` or `signum`.

You will find a dummy data declaration and type signatures already in place,
but it is up to you to define the functions and create a meaningful data type,
newtype or type synonym.

Version data entries

335 entries across 335 versions & 1 rubygems

Version Path
trackler-2.2.1.98 tracks/haskell/exercises/clock/.meta/hints.md
trackler-2.2.1.97 tracks/haskell/exercises/clock/.meta/hints.md
trackler-2.2.1.96 tracks/haskell/exercises/clock/.meta/hints.md
trackler-2.2.1.95 tracks/haskell/exercises/clock/.meta/hints.md
trackler-2.2.1.94 tracks/haskell/exercises/clock/.meta/hints.md
trackler-2.2.1.93 tracks/haskell/exercises/clock/.meta/hints.md
trackler-2.2.1.92 tracks/haskell/exercises/clock/HINTS.md
trackler-2.2.1.91 tracks/haskell/exercises/clock/HINTS.md
trackler-2.2.1.90 tracks/haskell/exercises/clock/HINTS.md
trackler-2.2.1.89 tracks/haskell/exercises/clock/HINTS.md
trackler-2.2.1.88 tracks/haskell/exercises/clock/HINTS.md
trackler-2.2.1.87 tracks/haskell/exercises/clock/HINTS.md
trackler-2.2.1.86 tracks/haskell/exercises/clock/HINTS.md
trackler-2.2.1.85 tracks/haskell/exercises/clock/HINTS.md
trackler-2.2.1.84 tracks/haskell/exercises/clock/HINTS.md
trackler-2.2.1.83 tracks/haskell/exercises/clock/HINTS.md
trackler-2.2.1.82 tracks/haskell/exercises/clock/HINTS.md
trackler-2.2.1.81 tracks/haskell/exercises/clock/HINTS.md
trackler-2.2.1.80 tracks/haskell/exercises/clock/HINTS.md
trackler-2.2.1.79 tracks/haskell/exercises/clock/HINTS.md