chronologique: Time to manipulate time
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.
Downloads
- chronologique-0.3.0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.2.1.0, 0.3.0.0, 0.3.0.1, 0.3.1.1, 0.3.1.3 (info) |
---|---|
Dependencies | base (>=4.9 && <5), hourglass, time, vector [details] |
License | BSD-3-Clause |
Copyright | © 2016-2018 Operational Dynamics Consulting Pty Ltd, and Others |
Author | Andrew Cowie <andrew@operationaldynamics.com> |
Maintainer | Andrew Cowie <andrew@operationaldynamics.com> |
Category | Text |
Home page | https://github.com/afcowie/chronologique/ |
Bug tracker | https://github.com/afcowie/chronologique/issues |
Uploaded | by AndrewCowie at 2018-03-20T11:18:08Z |
Distributions | LTSHaskell:0.3.1.3, NixOS:0.3.1.3, Stackage:0.3.1.3 |
Reverse Dependencies | 4 direct, 3 indirect [details] |
Downloads | 3474 total (21 in the last 30 days) |
Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2018-03-20 [all 1 reports] |