[CLJ-1116] More REPL-friendly 'ns macro Created: 29/Nov/12 Updated: 01/Mar/13 Resolved: 11/Dec/12
|Affects Version/s:||Release 1.3, Release 1.4|
|Fix Version/s:||Release 1.5|
The 'ns macro is not as dynamic as it could be.
The attached patch ( dynamic-ns-patch2.diff ) allows a successful call to (ns a) behave the same as a successful call to (require 'a), adding namespace a to the list of loaded-libs.
Discussion on googlegroup's mailing list: http://groups.google.com/group/clojure-dev/browse_thread/thread/fb231e6fab4a5ad
|Comment by Rich Hickey [ 29/Nov/12 9:31 AM ]|
screeners, please make sure this has tests before passing on
|Comment by Laurent Petit [ 29/Nov/12 10:41 AM ]|
|Comment by Timothy Baldridge [ 30/Nov/12 11:35 AM ]|
Patch applies, fixes the bug. All tests pass.
|Comment by Herwig Hochleitner [ 03/Dec/12 7:52 AM ]|
I see this has already been screened, but FWIW I tested the repl with this patch and the behavior works for me.