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

Add docstring example to VecOrMat #38253

Merged
merged 4 commits into from
Apr 15, 2021
Merged

Conversation

logankilpatrick
Copy link
Member

No description provided.

@logankilpatrick logankilpatrick added the docs This change adds or pertains to documentation label Nov 1, 2020
@logankilpatrick logankilpatrick changed the title Add doctoring example to VecOrMat Add docstring example to VecOrMat Nov 1, 2020
base/array.jl Outdated Show resolved Hide resolved
Co-authored-by: kimikage <kimikage.ceo@gmail.com>
@ViralBShah
Copy link
Member

ViralBShah commented Dec 6, 2020

I am a bit borderline on this one. I am not sure about the examples here - if they add much to the explanation. They are not an example of user code, but a demonstration. Wondering what others think?

@ViralBShah
Copy link
Member

Revisiting this, I think this is worth merging. But it would be great to have a couple of lines that say what this type is for - a union type that allows functions to accept either a matrix or a vector. It was originally for internal use only - and documentation means we are committing to it, in a way.

@logankilpatrick
Copy link
Member Author

@ViralBShah Okay, added.

@logankilpatrick
Copy link
Member Author

(Note I originally just opened this since it showed up on the Julia Docs but didn't have a doctoring)

@vtjnash vtjnash merged commit 29d5158 into JuliaLang:master Apr 15, 2021
@vtjnash
Copy link
Member

vtjnash commented Apr 15, 2021

I was also skeptical of this too, but seeing that Viral then approved, I've merged this.

ElOceanografo pushed a commit to ElOceanografo/julia that referenced this pull request May 4, 2021
Co-authored-by: kimikage <kimikage.ceo@gmail.com>
antoine-levitt pushed a commit to antoine-levitt/julia that referenced this pull request May 9, 2021
Co-authored-by: kimikage <kimikage.ceo@gmail.com>
johanmon pushed a commit to johanmon/julia that referenced this pull request Jul 5, 2021
Co-authored-by: kimikage <kimikage.ceo@gmail.com>
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.

4 participants