Skip to content
New issue

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

Implement stimes for Builder and ShortByteString #611

Merged
merged 1 commit into from
Sep 8, 2023

Conversation

clyring
Copy link
Member

@clyring clyring commented Aug 30, 2023

I implemented stimes for Builder in #587 after being unpleasantly not-quite-surprised by the fact that it doesn't work with a multiplier of zero in the tests I wrote in that patch. But the change is unrelated, so I've broken it off into another pull request.

We could also now newtype-derive Semigroup and Monoid for ShortByteString with base-4.18 and newer, but I haven't done so yet because I'm undecided on whether that should be considered a breaking change for PVP purposes: It would change the types of errors we throw on overflow from our own SizeOverflowException to whatever Data.Array.Byte chooses to throw. (Error message quality is about the same in both cases, I think.)

@clyring clyring merged commit 09dc954 into haskell:master Sep 8, 2023
24 checks passed
@clyring clyring added this to the 0.12.1.0 milestone Jan 30, 2024
clyring added a commit to clyring/bytestring that referenced this pull request Jan 31, 2024
Since `stimes` was explicitly implemented in haskell#611:
Closes haskell#488. Closes haskell#489.
Bodigrim pushed a commit that referenced this pull request Jan 31, 2024
Since `stimes` was explicitly implemented in #611:
Closes #488. Closes #489.
clyring added a commit that referenced this pull request Feb 5, 2024
Since `stimes` was explicitly implemented in #611:
Closes #488. Closes #489.

(cherry picked from commit 93fdd3a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants