time-domain

A library for time domains and durations

LTS Haskell 24.48:0.1.0.5
Stackage Nightly 2026-06-30:1.8
Latest on Hackage:1.8

See all snapshots time-domain appears in

MIT licensed by Manuel Bärenz
Maintained by [email protected]
This version can be pinned in stack with:time-domain-1.8@sha256:dadd06fae66faa078ad04c2d8928f1da62608829276ba789e4ffd17d559b2732,1018

Module documentation for 1.8

Used by 2 packages in nightly-2026-06-30(full list with versions):

This library mainly provides a type class, TimeDomain, which can be used to specify times and durations. There are some instances for standard types from base and time.

Changes

Revision history for time-domain

1.7

  • Introduce Seconds time domain
  • Base the TimeDomain class hierarchy on Group (from monoid-extras) and RightAction (from changeset)
  • Extend the TimeDifference type class

0.1.0.5

  • Support GHC 9.10

0.1.0.4

  • Relax time version bounds

0.1.0.3

  • Support GHC 9.8