Skip to content

Conversation

@jmlowenthal
Copy link
Contributor

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.

Copy link
Contributor

@MatthewDaggitt MatthewDaggitt 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 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.

@jmlowenthal
Copy link
Contributor Author

Thank you for the prompt and useful feedback @MatthewDaggitt. I've been through and resolved all of your comments, all very sensible suggestions!

@MatthewDaggitt
Copy link
Contributor

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!

@MatthewDaggitt MatthewDaggitt merged commit 28cdb06 into agda:master May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make fromℕ in Data.Nat.Binary more efficient

2 participants