chr is:package
A high-performance time library
Chronos is a performance-oriented time library for Haskell, with a
straightforward API. The main differences between this and the
time library are:
- Chronos uses machine integers where possible. This means that
time-related arithmetic should be faster, with the drawback that the
types are incapable of representing times that are very far in the
future or the past (because Chronos provides nanosecond, rather than
picosecond, resolution). For most users, this is not a hindrance.
- Chronos provides ToJSON/FromJSON instances for
serialisation.
- Chronos provides Unbox instances for working with unboxed
vectors.
- Chronos provides Prim instances for working with byte
arrays/primitive arrays.
- Chronos uses normal non-overloaded haskell functions for encoding
and decoding time. It provides attoparsec parsers for both
Text and ByteString. Additionally, Chronos provides
functions for encoding time to Text or ByteString. The
http://hackage.haskell.org/package/time time> library
accomplishes these with the Data.Time.Format module, which uses
UNIX-style datetime format strings. The approach taken by Chronos is
faster and catches more mistakes at compile time, at the cost of being
less expressive.
Not on Stackage, so not searched.
Pretty printing for chr library
Not on Stackage, so not searched.
Datatypes required for chr library
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.
Not on Stackage, so not searched.
Constraint Handling Rules
Not on Stackage, so not searched.
Parsing for chr library
Not on Stackage, so not searched.
AST + surface language around chr
Not on Stackage, so not searched.
neovim package manager
Not on Stackage, so not searched.
measure timings of data evaluation
Benchmarking tool with focus on comparing results.
This tool performs lazy benchmarking of functions and shell commands
with continuous feedback and improving precision.
Not on Stackage, so not searched.
Alternative approach of 'read' that composes grammars instead of parsers.
Not on Stackage, so not searched.
Polysemy effects for Chronos
Not on Stackage, so not searched.
Distinguish between synchronous and asynchronous exceptions
Not on Stackage, so not searched.
Integrated pretty-printing and error/static analysis reporting.
Not on Stackage, so not searched.
Synchronous communication channels
These as a transformer, ChronicleT
This packages provides ChronicleT, a monad transformer based
on the Monad instance for These a, along with the
usual monad transformer bells and whistles.