Improve clojure.repl/dir-fn to work on namespace aliases in addition to canonical namespaces.

Description

Extend clojure.repl/dir to work with the aliases in the current namespace

After:

user=> (require '[clojure.string :as s]) nil user=> (dir s) blank? capitalize ...etc

Patch: clj-1673-3.patch

Screened by: Alex Miller

Environment

None

Attachments

3
  • 13 Oct 2015, 07:06 PM
  • 04 May 2015, 10:38 PM
  • 03 May 2015, 04:35 AM

Activity

Show:

Alex Miller November 10, 2015 at 1:10 PM

We've missed the window for 1.8 but it's in the queue for 1.9.

Jason Whitlark November 10, 2015 at 6:58 AM

This is ready to go. Do I need to do anything to get it back in the queue?

Jason Whitlark October 13, 2015 at 7:06 PM

Fixed test to work with direct linking.

Alex Miller October 13, 2015 at 2:03 AM

Yeah, if you turn direct linking off the test passes.

Alex Miller October 13, 2015 at 2:00 AM

You know this could be due to direct linking - calls inside the clojure code to other clojure code are now direct linked (static) calls as of 1.8.0-alpha3 and can't be redef'ed.

Completed

Details

Assignee

Reporter

Labels

Approval

Ok

Patch

Code and Test

Priority

Affects versions

Fix versions

Created March 11, 2015 at 6:48 PM
Updated September 7, 2016 at 8:56 PM
Resolved September 7, 2016 at 8:56 PM