timespan: Useful timespan datatype and functions

[ library, mit, web ] [ Propose Tags ] [ Report a vulnerability ]

A data type for time spans with some useful utility functions


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.2.0.0, 0.3.0.0, 0.4.0.0
Dependencies base (>=4.9 && <5), time (>=1.2) [details]
License MIT
Copyright 2016 Alexander Thiemann
Author Alexander Thiemann
Maintainer mail@athiemann.net
Category Web
Home page https://github.com/agrafix/timespan#readme
Source repo head: git clone https://github.com/agrafix/timespan
Uploaded by AlexanderThiemann at 2020-05-24T01:32:48Z
Distributions LTSHaskell:0.4.0.0, NixOS:0.4.0.0, Stackage:0.4.0.0
Reverse Dependencies 8 direct, 1 indirect [details]
Downloads 2864 total (22 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-05-24 [all 1 reports]

Readme for timespan-0.4.0.0

[back to package description]

Haskell timespan package

CircleCI Hackage

The timespan packages provides an abstract data type for time spans. You can create them using well named quantities (seconds) and turn them back into a specified quantity. There are also some wrapper functions around commonly used functions that usually represent time spans as Int that now explicitly take a timespan.