Split at-pack and at-unpack into a separate package
mauro3 opened this issue · 9 comments
These two macros seem to get a good bit of usage without the rest. @tpapp is such a user, I think. Thoughts? Package name UnPack.jl
.
I support the idea and like the name. This package has some dependencies which I guess are not necessary for these two macros.
Here it is https://github.com/mauro3/UnPack.jl
Any other thoughts, anyone?
I love how lean the package is.
Too lean? Allmost leftpad...
😄 If you are referring to the left-pad debacle for npm, I don't think that is a concern for Julia. But if you don't want to factor it out to another package, I respect that decision too.
For me, @unpack
serves the same purpose as common-lisp:with-slots
. It is indeed a very simple macro, but very useful.
Yes, the npm one, but that was just tongue in cheek. I think it makes sense here too. I'll go ahead and register it in the next few days.
Here we go: JuliaRegistries/General#6234
Thanks for splitting this out! I hadn't noticed UnPack.jl
existed until Pkg.update()
showed + UnPack v1.0.0
Cool.
I guess I forgot to close this...