A basic library for defining units of time as types. http://github.com/acw/time-units

Version on this page:1.0.0
LTS Haskell 6.35:1.0.0
Stackage Nightly 2016-05-25:1.0.0
Latest on Hackage:1.0.0

See all snapshots time-units appears in

BSD-3-Clause licensed by Adam Wick
Maintained by Adam Wick

Module documentation for 1.0.0

In many cases, it is useful (either for error checking or documentation reasons) to define input and output types as having a particular unit of time. In addition, by creating a type class defining type units, this library should make it easier to separate the units of time the developer wants to think in versus the units of time the library author wants to think in.

comments powered byDisqus