decorate
decorate copied to clipboard
Docstring typo or oversight.
Hello James,
I think you didn't mean value in the docstring of redef. You're redefining a var.
I was studying these macros for educational purposes. PRs like these may be a bit pedantic. Sorry for that.
Lovely library BTW.
This library should be considered deprecated. I'll add a note to the README.
OK.
Out of curiosity, is there an issue with the macros as such? Do you advise against their usage? And if so, how would you decorate functions today?
Yes, I advise against using this library. Creating a new var instead of redefining an existing one should be considered the more idiomatic approach.
Thanks. :+1: