We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
floor
Releases.hs
encode :: [Release] -> Encode.Value encode releases = Encode.object $ flip map (List.sort releases) $ \(Release version time) -> ( Pkg.versionToText version, Encode.int (floor time) )
History.History
Event
type TimeDict = Map.Map Time.NominalDiffTime (Pkg.Name, Pkg.Version)
which will drop packages with the same Time.NominalDiffTime.
Time.NominalDiffTime
Don't floor timestamps. We probably won't see two packages published the same 10^-12 s timestamp.
10^-12 s
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Problem sequence
floor
ed to a one-second resolution inReleases.hs
:History.History
from disk, sortingEvent
s by time by putting package versions into this dict:which will drop packages with the same
Time.NominalDiffTime
.Suggested fix:
Don't
floor
timestamps. We probably won't see two packages published the same10^-12 s
timestamp.The text was updated successfully, but these errors were encountered: