Comments (8)
We might want to introduce a new standard method to assist with this, like summary(x)
. This would default to show(typeof(x))
but would give more details for arrays and maybe other things.
from julia.
There's already dump(x)
which shows the type and the fields for composite types and mostly fails for other types.
from julia.
This is really a two-part issue:
- providing the ability to list all globally bound names.
- providing functionality that uses this ability to summarize what the globally bound names are bound to.
from julia.
dump
to me is more of a debugging thing; it shows you everything. Here we want a concise readable summary like "2x2 Float64 Array".
from julia.
Ok, I see what you're saying. And then whos
would just print the summaries for all the bound globals? Seems reasonable.
from julia.
Seems like whos is not working out of the box in either webRepl or terminal:
julia> whos()
in whos: io not defined
in whos at show.jl:450
Version 0.0.0+85010126.recc1
from julia.
That's been fixed. Update your repo, pls.
On Wed, May 16, 2012 at 2:48 AM, Ar Vicco <
[email protected]
wrote:
Seems like whos is not working out of the box in either webRepl or
terminal:julia> whos()
in whos: io not defined
in whos at show.jl:450Version 0.0.0+85010126.recc1
Reply to this email directly or view it on GitHub:
#37 (comment)
from julia.
Ah I see. One more downside of non-packaged install I guess. ;)
from julia.
Related Issues (20)
- eltype of A' for abstractly typed A breaks after loading package
- Julia 1.10.0 fails REPL tests randomly
- Show more of the type where arguments don't match in `MethodError` HOT 2
- `redirect_stderr(devnull)` doesn't work for function redefinition warnings
- Is `Dates.adjust` supposed to be exported?
- Public API for `Docs.doc`
- printf MethodError with "append_nine_digits" HOT 3
- Make `push!=false` a syntax error HOT 3
- Adding `\mid` to the parser and setting its precedence higher than `::` as an experimental feature HOT 1
- segfault in gc binarytree.jl test
- REPL becomes unresponsive during completion inference HOT 2
- `shell>` prompt very sluggish when typing first word on WSL HOT 12
- Bug in `ccall(:printf)` on macos: "%s" gives `(null)`. But differs between downloaded binary and source builds HOT 11
- Regression in cached methods from moving the REPL outside the sysimage HOT 5
- InterruptException not triggered by SIGINT when blocking background thread on 1.10 HOT 1
- `@noinline` confuses `@code_typed` reporting wrong return type when return value is unused. HOT 4
- Support `using Statistics as Stat` HOT 11
- repr of a PkgId isn't usable HOT 3
- Unoptimized `code_typed` differs if function is defined twice on nightly HOT 1
- Regression in tridiagonal hermitian `eigen` for `Complex{Int}` elements HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from julia.