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

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

This version can be pinned in stack with:time-units-1.0.0@sha256:27cf54091c4a0ca73d504fc11d5c31ab4041d17404fe3499945e2055697746c1,928

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.

Depends on 1 package(full list with versions):
Used by 1 package in lts-6.35(full list with versions):