-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
arrays[a, r, r, a, y, s][a, r, r, a, y, s]
Milestone
Description
wrap
was introduced as the safe alternative to unsafe_wrap
in #52049 in December by @MasonProtter.
Maybe this is the right call but I want to at least flag the issue. wrap
a very a generic name and there are many packages using it for all kinds of purposes, and many others that will likely want to choose that name in the future. 288 files on GitHub define wrap
, with some duplicates.
Options:
- No change. Users will qualify
Package.wrap
instead ofusing
packages. Many people who would write a functionwrap
will probably decide to choose a different name for their function. Heavy users ofBase.wrap
will be pleased. - Don't export
wrap
. Users will writeBase.wrap
instead ofwrap
, which could be annoying if it's in common usage, but will be more pleasant for authors and users of other functions namedwrap
. - Rename it.
wrap_memory
?Array
?array
?memoryarray
? something else?
Tokazama, sloede, KristofferC and LilithHafner
Metadata
Metadata
Assignees
Labels
arrays[a, r, r, a, y, s][a, r, r, a, y, s]