Safe Haskell | None |
---|---|
Language | Haskell2010 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- Defines two stop-watches, exactly one of which is running at any time.
Synopsis
- data GameClock
- showsElapsedTimes :: NDecimalDigits -> GameClock -> IO ShowS
Types
Data-types
Models a game-clock, in which each player owns a personal stop-watch, exactly one of which is running at any one time.
Instances
SelfValidating GameClock Source # | |
Defined in BishBosh.Time.GameClock findInvalidity :: GameClock -> [String] Source # | |
Switchable GameClock Source # | |
Functions
showsElapsedTimes :: NDecimalDigits -> GameClock -> IO ShowS Source #
Show the elapsed times.