-
Notifications
You must be signed in to change notification settings - Fork 260
Fast binary conversion #1495
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
Fast binary conversion #1495
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the awesome PR! I've added some comments, and moved fromN-helper method inside a local where module to limit it's outside exposure and make it clear that it's not supposed to be used on it's own.
Apart from the comments, the only other thing is to add CHANGELOG entries for any new proofs you've added.
|
Thank you for the prompt and useful feedback @MatthewDaggitt. I've been through and resolved all of your comments, all very sensible suggestions! |
|
Great thanks for the changes. I'll leave it up a couple more days to see if anyone else has any comments, and then I'll merge it in. Thanks again for the PR! |
Takes @oisdk's approach from the discussion in #1405 and cleans it up a bit, trying to integrate better with other parts of stdlib.
Feedback welcome, especially if there are other proofs in stdlib that could support in
fromℕ-helper≡fromℕ'.Closes #1468.