interactive: Add ":l" command to load a module
Bug #439168 reported by
Matt Giuca
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mars |
Triaged
|
Wishlist
|
Matt Giuca |
Bug Description
There is currently no way to load a module once Mars interactive mode has started. Add a ":l <modulename>" command, which searches for a module and imports all of its functions and types into the interactive environment.
Make sure it is not vulnerable to bug #408296 (top-level cyclic imports fail).
Changed in mars: | |
milestone: | none → 0.2.1 |
To post a comment you must log in.
Also add :r to reload all modules loaded with :l (as well as the initial module, prelude by default).