M2 icon indicating copy to clipboard operation
M2 copied to clipboard

global protected symbols -- unowned by a package

Open DanGrayson opened this issue 8 years ago • 1 comments

When writing a package that introduces symbolic name for optional parameters to functions, it can be a burden to document them and to worry about whether they conflict with other packages, and hence many package writers are tempted to use strings instead. It might be better to introduce a paradigm where the package can introduce new protected global symbols in the Core dictionary, instead of in the package dictionary. Thus two packages could use the same option name Gamma, but there would still be a conflict if another package introduces code for the Gamma function.

What should be done?

DanGrayson avatar Jul 28 '17 00:07 DanGrayson

We could do the same thing for method functions!

DanGrayson avatar Jun 05 '20 16:06 DanGrayson