chronos: A performant time library
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
Performance-oriented time library for haskell. The main differences between this and "time" are that this library:
Uses machine integers where possible. This means that some time-related arithmetic should be faster. It also means that the types are incapable of representing times that are very far in the future or the past.
Provides ToJSON and FromJSON instances for json serialization.
Provides Unbox instances for working with unboxed vectors.
Uses normal non-overloaded haskell functions for encoding and decoding time. It provides "attoparsec" parsers for both Text and ByteString. Additionally, it provides functions for encoding time as Text or ByteString. The "time" library uses accomplishes these with the Data.Time.Format module, which uses UNIX-style datetime format strings. It is expected that the approach taken in this library is faster and catches more mistakes at compile time at the cost of being less expressive.
Only provides nanosecond resolution instead of picosecond resolution.
Properties
Versions | 0.1.0, 0.2.0, 0.3, 0.4, 1.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.1, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.5.1, 1.1.6.0, 1.1.6.1 |
---|---|
Change log | None available |
Dependencies | aeson (>=1.1 && <1.4), attoparsec (>=0.13 && <0.14), base (>=4.9 && <5), bytestring (>=0.10 && <0.11), clock (>=0.7 && <0.8), hashable (>=1.2 && <1.3), primitive (>=0.6 && <0.7), semigroups (>=0.16 && <0.19), text (>=1.2 && <1.3), torsor (>=0.1 && <0.2), vector (>=0.11 && <0.13) [details] |
License | BSD-3-Clause |
Copyright | 2016 Andrew Martin |
Author | Andrew Martin |
Maintainer | andrew.thaddeus@gmail.com |
Category | web |
Home page | https://github.com/andrewthad/chronos#readme |
Source repo | head: git clone https://github.com/andrewthad/chronos |
Uploaded | by andrewthad at 2018-08-14T17:02:38Z |
Modules
[Index] [Quick Jump]
Downloads
- chronos-1.0.4.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees