Skip to content

Conversation

@LSLeary
Copy link
Contributor

@LSLeary LSLeary commented Jul 29, 2025

The project I want to test with io-sim uses Data.Unique, so I wrote this.

P.s. I'm not yet familiar with the library, let alone its internals—do let me know if I've written something silly.

Copy link
Collaborator

@coot coot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contributions. A few minor comments.

@LSLeary
Copy link
Contributor Author

LSLeary commented Jul 31, 2025

Re the trace events, giving them the actual IOSimUnique s would require adding a type parameter to SimEventType or making the constructor existential in s. I'm not sure what the best choice is here, so for now it just holds the contained Integer.

Copy link
Collaborator

@coot coot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can trace Integer rather than IOSimUnique, this will avoid the s parameter.

Copy link
Collaborator

@coot coot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank @LSLeary, the PR looks good to me. Just some minor things. Please squash the commits and I'll merge it.

@LSLeary LSLeary force-pushed the unique-symbol-generation branch from 90b4802 to 2479e6b Compare August 5, 2025 07:31
@coot coot enabled auto-merge August 6, 2025 16:54
@coot coot added this pull request to the merge queue Oct 16, 2025
Merged via the queue into input-output-hk:main with commit ef82ae8 Oct 16, 2025
14 checks passed
@LSLeary LSLeary deleted the unique-symbol-generation branch October 17, 2025 04:12
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