-
Notifications
You must be signed in to change notification settings - Fork 246
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
Set the fixity of mixfix definitions #207
Comments
Closed with 5f4c67e |
Using the new https://gist.github.com/gallais/79386a6ba8826620dc82b3f5d5af2bde |
Well, bracketing constructs like |
I've updated the gist with the new set of warnings ignoring well-bracketed mixfix decls |
As of Agda 2.6.0 the warnings for the missing fixities should now work properly, so this should be much more doable. |
Particularly egregious example in |
@gallais can you update the gist please? I think I'm going to spend some of my time working on this. |
@JacquesCarette It's just a matter of running |
Hi, (I don't know if I am doing it right) I ran -
locally, but could not reproduce the list of warnings, instead I got an error saying -
Should I be running |
You're probably missing |
Ah, thanks! Works! |
An updated list for reference (will create a PR shortly) - https://gist.github.com/Saransh-cpp/99476398a0bf6fa78f1fc6a26edbb9fc |
I hope that @Saransh-cpp was using |
Ah I'd forgotten that even existed! Maybe that belongs in the style guide rather than an Agda file? Anyway @Saransh-cpp, just to check does your PR follow these suggestions? 😄 |
If you're happy to "bless" this fixity guide then yes, probably should be integrated into the style guide. |
Oops, just saw the comments. I was indeed following the design guide! |
I've added the missing fixity for most of the declarations, but I could not really figure out the fixity for some of them. This gist has an updated list of missing fixities that I could not add (there might be repetitions). I'd be happy to add them in if someone could help me with the values. Thanks! Edit: Updated list of missing fixities - https://github.com/Saransh-cpp/IdrisButNotAgda/tree/fixities |
I will attempt to look at the gist seriously as soon as I can. Still buried with many other things on my plate. |
Can the (updated) list be sorted, please? |
Should be sorted now! |
@JacquesCarette does/did #2386 also update |
The remaining 50-odd definitions without a fixity (mostly under |
Yes, #2386 did update the documentation. I was going to continue slowing picking at this issue until it's done. Yes, it is getting trickier! |
Set the fixity of <? in Data.Nat.Properties.
The text was updated successfully, but these errors were encountered: