Skip to content

Improve similar documentation #13018

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

Merged
merged 1 commit into from
Sep 8, 2015
Merged

Conversation

mbauman
Copy link
Member

@mbauman mbauman commented Sep 8, 2015

Try to do a better job of explaining the status quo. Document the reasons why a given array might not return a new array of the same type. Add examples (which are intentionally not doctests since they display uninitialized memory).

Cc: @johnmyleswhite and @tkelman. I hope that this might closɛ #11574, but I'll let y'all decide that. This is definitely not meant to replace or supersede discussions about how we might be able to change similar to better suit the needs of custom arrays.

Try to do a better job of explaining the status quo. Document the reasons why a given array might not return a new array of the same type. Add examples (which are intentionally not doctests since they display uninitialized memory).

[ci skip]
@johnmyleswhite
Copy link
Member

Seems like a big improvement to me. Guess I'm still pretty uncomfortable with some of the invariants being exposed here (especially mutability), but we don't have any viable contenders for other abstractions at the moment.

@tkelman tkelman added the docs This change adds or pertains to documentation label Sep 8, 2015
@tkelman
Copy link
Contributor

tkelman commented Sep 8, 2015

Definitely a nice doc improvement of the status quo.

johnmyleswhite added a commit that referenced this pull request Sep 8, 2015
Improve similar documentation
@johnmyleswhite johnmyleswhite merged commit 7f73781 into JuliaLang:master Sep 8, 2015
@mbauman mbauman deleted the docsimilar branch September 8, 2015 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This change adds or pertains to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants