-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
What is used for value display in REPL? #53678
Comments
This is documented in Custom pretty-printing in the manual.
The REPL calls However, GPUArrays.jl does some task-dependent enabling of scalar indexing which makes |
#53926 fixes the omission of |
Fix omission in pretty-printing docs mentioned here: #53678 (comment) (I think these docs were written before `IOContext` existed?) Also fixes a corresponding place in the REPL docs, which mentioned the `IOContext` but omitted `display`. Closes #53678
Fix omission in pretty-printing docs mentioned here: JuliaLang#53678 (comment) (I think these docs were written before `IOContext` existed?) Also fixes a corresponding place in the REPL docs, which mentioned the `IOContext` but omitted `display`. Closes JuliaLang#53678
My original question is "which function is used by the REPL to display values", and I couldn't really find a definite answer.
Docs point to
display(x)
julia/doc/src/manual/types.md
Lines 1483 to 1484 in 6f8ba49
and to
show
julia/stdlib/REPL/docs/src/index.md
Line 60 in 6f8ba49
on different pages.
But this is definitely not the whole story, the output of
display(x)
and justx
in REPL is different:So, would be nice to document how it actually works... I personally don't understand it for now.
The text was updated successfully, but these errors were encountered: