Skip to content

Add *RevisionIx newtypes#1500

Merged
ysangkok merged 5 commits intohaskell:masterfrom
tweag:rev-types
May 1, 2026
Merged

Add *RevisionIx newtypes#1500
ysangkok merged 5 commits intohaskell:masterfrom
tweag:rev-types

Conversation

@isovector
Copy link
Copy Markdown
Contributor

This PR adds MetadataRevIx and TarballRevIx newtypes. Prior to this PR, both concepts are typed as Int, which confused me for a few weeks since they are very distinct ideas. Making this change adds a little more type safety for the work going on in #1486.

@ysangkok ysangkok merged commit 78fb5e7 into haskell:master May 1, 2026
13 checks passed
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