haskell / haskell/time

Replace use of Integer with fixed-sized types

Open
#80 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
135
Forks
83
PR merge metrics
No merged PRs in 30d

Description

Packs more predictably.

* `Day` contains `Integer`
* `Int32` days is ± 5.8 million years
* probably want `Int64`
* `DiffTime` and `NominalDiffTime` contain `Pico` (`Fixed`) which contains `Integer`
* `Int64` picoseconds is ±106 days, not big enough
* `Int128`?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.