whos command #37

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

Comments

Projects
None yet
4 participants
@ViralBShah
Member

ViralBShah commented Jun 9, 2011

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

@JeffBezanson

This comment has been minimized.

Show comment
Hide comment
@JeffBezanson

JeffBezanson Jun 28, 2011

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.

Member

JeffBezanson commented Jun 28, 2011

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

This comment has been minimized.

Show comment
Hide comment
@StefanKarpinski

StefanKarpinski Jun 28, 2011

Member

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

Member

StefanKarpinski commented Jun 28, 2011

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

@StefanKarpinski

This comment has been minimized.

Show comment
Hide comment
@StefanKarpinski

StefanKarpinski Jun 28, 2011

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.
Member

StefanKarpinski commented Jun 28, 2011

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

This comment has been minimized.

Show comment
Hide comment
@JeffBezanson

JeffBezanson Jun 28, 2011

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".

Member

JeffBezanson commented Jun 28, 2011

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

This comment has been minimized.

Show comment
Hide comment
@StefanKarpinski

StefanKarpinski Jun 28, 2011

Member

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

Member

StefanKarpinski commented Jun 28, 2011

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

@arvicco

This comment has been minimized.

Show comment
Hide comment
@arvicco

arvicco 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

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

This comment has been minimized.

Show comment
Hide comment
@StefanKarpinski

StefanKarpinski May 16, 2012

Member

That's been fixed. Update your repo, pls.

On Wed, May 16, 2012 at 2:48 AM, Ar Vicco <
reply@reply.github.com

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)

Member

StefanKarpinski commented May 16, 2012

That's been fixed. Update your repo, pls.

On Wed, May 16, 2012 at 2:48 AM, Ar Vicco <
reply@reply.github.com

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

This comment has been minimized.

Show comment
Hide comment
@arvicco

arvicco May 16, 2012

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

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

Merge pull request #37 from musm/patch-1
Remove isdefined for precompile

StefanKarpinski pushed a commit that referenced this issue Feb 8, 2018

Merge pull request #37 from KristofferC/kc/show_pkg_name_on_req_fail
show pkg name on resolution failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment