Details
-
Type:
Enhancement
-
Status:
Closed
-
Priority:
Trivial
-
Resolution: Declined
-
Affects Version/s: Release 1.3
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Patch:Code
Description
(defn resolve
"same as (ns-resolve ns symbol) or (ns-resolve ns &env symbol)"
The ampersand on "&env" in the doc string is distracting. There's no macro magic involved so it should just say "env".
Attachments
Activity
Andy Fingerhut
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | clj-818-resolve-doc-string-patch.txt [ 10956 ] |
Andy Fingerhut
made changes -
| Patch | Code [ 10001 ] |
Stuart Sierra
made changes -
| Resolution | Declined [ 2 ] | |
| Status | Open [ 1 ] | Resolved [ 5 ] |
Stuart Halloway
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
There are earlier uses of &form and &env in core.clj, but they are all in bootstrap code and none of them become visible in doc strings. There are no other occurrences of & in resolve or ns-resolve, so it seems reasonable to remove it from resolve's doc string.
Patch applies cleanly to latest master as of Feb 24, 2012.