-
Notifications
You must be signed in to change notification settings - Fork 247
Increase backwards compatibility of moving raw bundles to Base
modules
#1865
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
Comments
I'll attempt to do this, but it sounds very like a 'deprecation-introduced-with-the-sole-purpose-of-being-subsequently-removed'... cf. my attempted gymnastics in trying to resolve issue #1726 ... we've discussed backwards compatibility vs. breaking changes for the v2.0 milestone before, and my instincts are for the cleaner break. But I'll see how it looks in practice. |
And yes, I do appreciate that deprecation is designed to help client code migrate towards the Promised Land... ;-) |
Yes, that is it exactly 😄
Yup I remember, but I still think where its easy for us to support backwards compatibility we should. This is only a couple of lines per file, no new imports etc. |
Does this require an internal Bundles module declaration in Nat.Base, so that the public reexport only covers the bundles? |
No. It should be as simple as adding: open Data.Nat.Base public
using (+-rawMagma, ...) to the bottom of the |
But doesn't that make the deprecation non-local? Why not do 'the usual' of defining the original names in the deprecated section equal to their new counterparts? That way the deprecation is in the imported Properties module, not the Base module... ? |
It does, but the problem is that when you're moving things, but not changing their name, then if you give the old location the same name then you're getting to get name clashes when you have both |
OK, see PR #1867 , modulo the renaming of the exported properties in |
As I said on one of the PRs, I think this is a mistake. I think we should create |
Yes @JacquesCarette there seemed to be a clear disagreement/divergence of views between you on the one hand, and @Taneb and @MatthewDaggitt on the other in the original discussion of #1755 and subsequent issues/PRs. I'm agnostic on this one (and currently trying to reverse out a separate hell of careless management of my PR closing this current issue), but I might be tempted to re-open the discussion in the context of #1871: if I were to persuade people (@MatthewDaggitt has yet to be convinced :-() that homomorphisms between structures But we're still stuck on the 'minimalist/maximalist' spectrum of how to view/build/advance (EDITED: apologies for the spurious mention, now remedied) |
The I'm happy to create
It's not that I'm not convinced that its a good idea, it's just that I haven't seen a proposal that convinces me that it works yet 😉 |
Touché ;-)! |
In commits 578e7a6 and 88942c3 we move the raw bundles from
Properties
toBase
files.We should publicly re-export the raw bundles in the
Properties
files from theBase
files for backwards compatibility (putting them in the deprecation section).The text was updated successfully, but these errors were encountered: