Skip to content
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

[speculative] Use Base.names #27

Closed
wants to merge 1 commit into from
Closed

[speculative] Use Base.names #27

wants to merge 1 commit into from

Conversation

oxinabox
Copy link
Member

Closes #22

However, right now this means doing type-piracy,
to make Base.names(::AbstractArray) = (:_, :_)
This can (and should) be removed,
it is only really used in a few places, and we can have a internal _names if we really nead it.

However, this approach is basically mutally exclusive with #20
as that actually requires attacheding names to AbstractArrays.
Though perhaps it can be done in a type-parametric way that avoids type-piracy?

@iamed2
Copy link
Member

iamed2 commented May 15, 2019

Type piracy isn't worth it IMO

@oxinabox oxinabox changed the title [WIP] Use Base.names [speculative] Use Base.names Jun 7, 2019
@oxinabox
Copy link
Member Author

we now export dimnames so this is resolved

@oxinabox oxinabox closed this Mar 23, 2020
@oxinabox oxinabox deleted the ox/names branch March 23, 2020 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Used Base.names
2 participants