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

be able to replace the top-level module #1195

Closed
JeffBezanson opened this issue Aug 22, 2012 · 1 comment
Closed

be able to replace the top-level module #1195

JeffBezanson opened this issue Aug 22, 2012 · 1 comment
Assignees
Labels
stdlib:REPL Julia's REPL (Read Eval Print Loop)
Milestone

Comments

@JeffBezanson
Copy link
Sponsor Member

This would provide the equivalent of "clear all" in an acceptable way. Currently magic is required to create and "get inside" the Main module, so we need some kind of interface for this.

@vtjnash
Copy link
Sponsor Member

vtjnash commented Feb 1, 2013

i'm not sure how hard this will be, but it seems good to have for release 0.1, if it isn't too difficult

@ghost ghost assigned JeffBezanson Oct 27, 2013
JeffBezanson added a commit that referenced this issue Feb 14, 2014
make the Core.Main binding non-constant, so uses of "Main" in general
refer to the *current* Main. Doing "import Main" will give you a
constant reference to the Main at that time.

fixes #5802

related to #1195
JeffBezanson added a commit that referenced this issue Jul 1, 2014
a link to the previous Main called LastMain is provided.
`using LastMain.Package` works to restore access to loaded libraries.

fixes #1195, fixes #2385
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib:REPL Julia's REPL (Read Eval Print Loop)
Projects
None yet
Development

No branches or pull requests

2 participants