Skip to content

Conversation

@Seelengrab
Copy link
Contributor

Unlike ans, this previously wasn't documented:

help?> ans
search: ans transpose transcode contains expanduser instances MathConstants readlines LinearIndices leading_ones

  ans

  A variable referring to the last computed value, automatically set at the interactive prompt.

help?> err
search: error errormonitor ErrorException @error stderr InterruptException showerror LoadError InitError

Couldn't find err
Perhaps you meant error, zero, repr, eof, eps, esc, exp, end, nor, rm, xor, Ptr, for, try, @error, stderr or merge
  No documentation found.

  Binding err does not exist.

Found while looking at #48299

@jakobnissen
Copy link
Member

Is this documented in the Julia documentation? Should it be?

@ViralBShah ViralBShah added the docs This change adds or pertains to documentation label Jan 16, 2023
@Seelengrab
Copy link
Contributor Author

Seelengrab commented Jan 16, 2023

It was originally added in #40642, which also mentioned it in NEWS.md. I think the docstring just got overlooked.

Copy link
Member

@aviatesk aviatesk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's include this in the Julia documentation also.

@aviatesk aviatesk added the merge me PR is reviewed. Merge when all tests are passing label Jan 18, 2023
@KristofferC KristofferC merged commit 4e76346 into JuliaLang:master Jan 18, 2023
@DilumAluthge DilumAluthge removed the merge me PR is reviewed. Merge when all tests are passing label Jan 26, 2023
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.

6 participants