-
Notifications
You must be signed in to change notification settings - Fork 245
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
Deprecate _≺_
in Data.Fin.Base
#1726
Comments
Did you ask on Zulip? I was beginning to wonder if the |
Nope, not yet. Will do so now. |
Asked. |
It looks as though, from the deafening silence here, that this deprecation, at least, will (and should!) go through... |
I've never used it, so I won't miss it! 😁 |
Whatever happened to this? Removing it eventually will yield some more dependency simplification arising from #1837... |
Looks caught in the lack of available cycles from the maintenance team. I'll assign myself, in a great fit of hope. |
It looks as if, perhaps, this was a relic from early/earlier experiments with |
So I now have a branch with this almost working: but the main thing in |
I suppose one solution might be to only deprecate the constructor in |
@JacquesCarette how have you got on progressing a solution? Discuss f2f on Wednesday? |
See the docs on how to turn off these warnings locally in an OPTIONS pragma https://agda.readthedocs.io/en/v2.6.2.2/language/pragmas.html#the-warning-on-pragmas e.g. agda-stdlib/src/Data/List/Solver.agda Line 10 in bc9c1b6
|
It's a bit unfortunate that such an OPTIONS pragma can only go at the top of the module, and not permit selectively turning off the warning just in the Deprecations section at the bottom of |
Funnily enough, I don't want this relation in the library any more than anyone else, but the refined analysis of my new, private, deprecated proofs perhaps suggest that it (once might have?) met a need: when you want to invert |
I have totally stalled on all my coding work. All my time in the last couple of weeks has gone into preparing talks, meeting a couple of paper deadlines and meetings with various people. Right now, I have a lot of reviewing of my student's work to catch up on. [But I'm doing some productive procrastination by reviewing my backlog of agda-stdlib emails.] |
Never one to row back on work I've invested time in, but I've started to wonder whether this is the interesting relation on Nat, and it's all the (multiply) primed versions of < which should go; < is the conceptually prior one, with its primed version optimised for the proofs of WF induction (plus it's more flexible on open terms, being closer to an interval type than being anchored at 0...). But this one set for deprecation is the one relation which encodes a view/records how to invert the toNat function... which is what makes it 'interesting' (to me at least). This is why I would have made a bad assassin... the temptation to show sympathy towards my intended targets. Ah well. |
I'm considering re-opening this issue... in view (sic) of my comment above, and the recent work I've been doing on PR #1287, for mediating between |
As I said on another issue: as long as it doesn't end up in |
I think we already have more than enough definitions of this relation (I think this is the 5th?), and I'd prefer to have less. This is a moderately odd definition with virtually no properties about it.
Anybody object to the deprecating it in
v2.0
? I'll ask on Zulip as well.The text was updated successfully, but these errors were encountered: