https://github.com/agrafix/timespan
Haskell: library for timespans
https://github.com/agrafix/timespan
Last synced: about 1 year ago
JSON representation
Haskell: library for timespans
- Host: GitHub
- URL: https://github.com/agrafix/timespan
- Owner: agrafix
- License: mit
- Created: 2016-09-08T17:00:20.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2020-05-24T01:32:45.000Z (about 6 years ago)
- Last Synced: 2025-04-04T15:46:24.002Z (about 1 year ago)
- Language: Haskell
- Size: 6.84 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Haskell `timespan` package
[](https://circleci.com/gh/agrafix/timespan)
[](http://hackage.haskell.org/package/timespan)
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`.