Completed
Details
Assignee
UnassignedUnassignedReporter
Steve MinerSteve MinerLabels
Approval
OkPatch
Code and TestPriority
MinorAffects versions
Fix versions
Details
Details
Assignee
Unassigned
UnassignedReporter
Steve Miner
Steve MinerLabels
Approval
Ok
Patch
Code and Test
Priority
Affects versions
Fix versions
Created February 2, 2015 at 9:30 PM
Updated October 13, 2015 at 3:37 AM
Resolved October 13, 2015 at 3:37 AM
The str of an empty list is surprisingly not "()". This is inconsistent with the result for the empty map {} or empty vector (). It would be convenient if `(str ())` returned "()". The work-around is to use `pr-str`, which is arguably the "correct" thing to do. However, there doesn't seem to be any reason that Clojure couldn't return "()".
Patch: clj-1653-3.patch
Screened by: Alex Miller