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

Construct Types #217

Merged

Conversation

uncomputable
Copy link
Collaborator

Make the constructors for Final public and update documentation.

I would like these constructors to return Self instead of Arc<Self>, because then the caller can choose how he wants to save the returned value. However, we would need to change the union bound code for that, which seems too invasive for now.

Computing a final type from other final types is entirely safe. There is
no way to introduce variables in the process. We need Final to represent
types without variables, so we need these constructors.
Use same phrasing as for Final
@uncomputable uncomputable requested a review from apoelstra May 27, 2024 20:26
Copy link
Collaborator

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

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

ACK c9276b4

@apoelstra apoelstra merged commit 152749d into BlockstreamResearch:master May 28, 2024
16 checks passed
@uncomputable uncomputable deleted the 2024-05-construct-types branch May 28, 2024 19:44
uncomputable added a commit to uncomputable/simfony that referenced this pull request Jun 6, 2024
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