-
Notifications
You must be signed in to change notification settings - Fork 247
Additions to Data.Bin #152
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
Conversation
…ik.ru> On branch master Changes to be committed: modified: CHANGELOG.md modified: src/Data/Bin.agda modified: src/Data/Bin/Properties.agda modified: src/Data/Char.agda modified: src/Data/Nat/DivMod.agda modified: src/Data/Nat/Properties.agda
Okay @mechvel, we've finally made the pull request, well done for getting this far! We'll now try and get your code into the right shape to be added to the standard library. Let's first look at your additions to
The examples above aren't a complete list. See if you can spot other instances of them as well in your code. As we've discussed you can make changes to the pull request by simply repeating the steps detailed in #65. After pushing your new changes to your repository, they'll automatically show up here. Let me know when you've pushed your changes improving on the style points above! |
Thank you for your notes. (1) The denotation (2) |
Okay I agree that it's more meaningful semantically. Please could you rename it to
I think that is a problem with the font that you are using. In most fonts it comes out as an angled bracket which is clearly distinguishable from a curved bracket.
I think that's a matter of opinion, to me it looks like an identity function |
-- Commit Summary --
* Committer: Sergei Meshveliani ***@***.***>
Is it possible to change this to the e-mail address Sergei's preferred address
<[email protected]> ?
(Would this be helped in the future by Sergei changing either
an address in his github account, or some local setting on his
machines?)
|
3. Don't create proofs that are "too small" and whose contents can just be written directly. For example
- Line 964: `+cong₁` and `+cong₂` can simply be replaced by `cong (_+ y)` and `cong (x +_)`
`+cong₁` and `+cong₂` have less than half the characters compared with those expansions. As long as I need combinators like these at all, I very strongly want to use their shorter names. If the standard library does not proved these short names, I have to provide them for myself, and Sergei has to provide them for himself, and possibly similar for some other users...
(And that is not even counting the fact that `x` and `y` may not be that short.)
|
It is only in the proof part, so it cannot be undedrstood as
If you insist, then all right. Do I and Wolfram convince you about |
|
I would expect Also, if |
This all looks reasonable. |
Well the library version of
Okay, there is a tension between filling the library up with copies of redundant lemmas and increasing the readability of proofs. I agree that
I agree with @gallais completely. In many cases the implicit arguments to |
For example, my commited code (in the end of
The lib-conservative stile makes it Replacing Here Agda allows to omit a hidded argument for
If the lib maintainer insists, then I shall remove +congˡ and +congʳ denotation from the commit. |
It looks like I have satisfied all the requirements for the code.
There are 7 files, including CHANGELOG.md and Readme.txt. Remarks are welcome. |
With the announcement of @mechvel's new library Binary 3.0, I think users interested in binary computation can use that library directly, and so I'm going to close this pull request. |
No description provided.