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

whos command #37

Closed
ViralBShah opened this issue Jun 9, 2011 · 8 comments
Closed

whos command #37

ViralBShah opened this issue Jun 9, 2011 · 8 comments
Assignees

Comments

@ViralBShah
Copy link
Member

We need a whos command, which shows all global variables.

@JeffBezanson
Copy link
Member

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.

@ghost ghost assigned JeffBezanson Jun 28, 2011
@StefanKarpinski
Copy link
Member

There's already dump(x) which shows the type and the fields for composite types and mostly fails for other types.

@StefanKarpinski
Copy link
Member

This is really a two-part issue:

  1. providing the ability to list all globally bound names.
  2. providing functionality that uses this ability to summarize what the globally bound names are bound to.

@JeffBezanson
Copy link
Member

dump to me is more of a debugging thing; it shows you everything. Here we want a concise readable summary like "2x2 Float64 Array".

@StefanKarpinski
Copy link
Member

Ok, I see what you're saying. And then whos would just print the summaries for all the bound globals? Seems reasonable.

@arvicco
Copy link

arvicco commented May 16, 2012

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

@StefanKarpinski
Copy link
Member

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:450

Version 0.0.0+85010126.recc1


Reply to this email directly or view it on GitHub:
#37 (comment)

@arvicco
Copy link

arvicco commented May 16, 2012

Ah I see. One more downside of non-packaged install I guess. ;)

StefanKarpinski pushed a commit that referenced this issue Feb 8, 2018
Remove isdefined for precompile
StefanKarpinski pushed a commit that referenced this issue Feb 8, 2018
NHDaly pushed a commit that referenced this issue Sep 19, 2023
…ovements

Backport allocation improvements
Keno pushed a commit that referenced this issue Oct 9, 2023
Towards a semi-performant recursive interpreter
IanButterworth pushed a commit that referenced this issue Apr 11, 2024
…d56027 (#54056)

Stdlib: ArgTools
URL: https://github.com/JuliaIO/ArgTools.jl.git
Stdlib branch: release-1.10
Julia branch: backports-release-1.10
Old commit: 08b11b2
New commit: 5d56027
Julia version: 1.10.2
ArgTools version: 1.1.2(Does not match)
Bump invoked by: @IanButterworth
Powered by:
[BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl)

Diff:
JuliaIO/ArgTools.jl@08b11b2...5d56027

```
$ git log --oneline 08b11b2..5d56027
5d56027 build(deps): bump julia-actions/setup-julia from 1 to 2 (#38)
b6189c7 build(deps): bump codecov/codecov-action from 3 to 4 (#37)
997089b fix tests for TEMP_CLEANUP, which might be a Lockable (#35)
4a5f003 build(deps): bump actions/cache from 3 to 4 (#36)
84ba9e8 Hardcode doc edit backlink (#34)
9238839 build(deps): bump actions/checkout from 3 to 4 (#33)
4eccde4 build(deps): bump actions/checkout from 2 to 3 (#30)
6a4049d build(deps): bump codecov/codecov-action from 1 to 3 (#32)
f94a0d3 build(deps): bump actions/cache from 1 to 3 (#31)
cb66300 enable dependabot for GitHub actions (#29)
```

Co-authored-by: Dilum Aluthge <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants