-
Notifications
You must be signed in to change notification settings - Fork 13
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
Match new Base destructuring syntax (aka the fate of this package) #14
Comments
You're not wasting any time! Yes, it would be good to have a transition strategy. Apart from your point, there is also the currently supported unpacking of string-key dicts (not sure what to do about those) and the |
I only use A different name, eg I was very fond of this package as it provided immensely useful functionality in a clean way, but now what 1.6 is LTS I don't see the need to use it any more. |
Thanks! Yes, I need to get this done... |
Thanks, I forgot that. In that case retiring this package can wait until the next LTS version of Julia. I don't see the need to do anything at this point. |
I really prefer writing
I would hope |
Although I haven't gotten round to it, I think #18 is worth implementing. Other useful extensions may exist. Base syntax is nice, but it is not meant to cover every use case. |
Somewhat related to the discussion in this issue, I just put together a very simple package today with an The main motivation was SciML/OrdinaryDiffEq.jl#1893 which also discusses the impact that the number of specializations introduced by The reason to put it in a separate package rather than UnPack was that I wanted to make it simple for me to switch to the new macro and reduce the number of changes that I have to apply in my packages: Since the macro has the same name, one does not have to update every |
Property destructuring was just merged into master 🎉 JuliaLang/julia#39285
Would be nice if this package allowed you to match that syntax, i.e. if in addition to the current form, it also allowed:
such that in the future one can upgrade by just dropping the
@unpack
.The text was updated successfully, but these errors were encountered: