The chronologique package
A simple type useful for representing timestamps as generated by system events, along with conveniences for converting between time types from common Haskell time libraries.
Our original use was wanting to conveniently measure things happening on distributed computer systems. Since machine clock cycles are in units of nanoseconds, this has the nice property that, assuming the system clock is not corrupted, two subsequent events from the same source process are likely to have monotonically increasing timestamps. And even if the system clock has skew, they're still decently likely to be unique per device. These TimeStamps thus make good keys when building Maps.
The core type is in Chrono.TimeStamp, see there for full documentation.
|Dependencies||base (>=4.9 && <5), hourglass, time, vector [details]|
|Copyright||© 2016-2017 Operational Dynamics Consulting Pty Ltd, and Others|
|Author||Andrew Cowie <firstname.lastname@example.org>|
|Maintainer||Andrew Cowie <email@example.com>|
|Uploaded||Fri Oct 27 07:10:16 UTC 2017 by AndrewCowie|
|Downloads||380 total (159 in the last 30 days)|
|Rating||(no votes yet) [estimated by rule of succession]|
|Status||Docs available [build log]
Last success reported on 2017-10-27 [all 1 reports]
Hackage Matrix CI
For package maintainers and hackage trustees