Completed
Details
Details
Assignee
Unassigned
UnassignedReporter
Alan Thompson
Alan ThompsonLabels
Approval
Ok
Patch
Code
Priority
Affects versions
Fix versions
Created March 7, 2017 at 10:54 PM
Updated September 14, 2018 at 10:21 PM
Resolved September 14, 2018 at 10:21 PM
clojure.core/flatten uses tree-seq to return a lazy result. The lazy nature of the result is not described in the docstring.
Original docstring:
-------------------------------- "Takes any nested combination of sequential things (lists, vectors,
etc.) and returns their contents as a single, flat sequence.
(flatten nil) returns an empty sequence."
Proposed docstring:
-------------------------------- "Takes any nested combination of sequential things (lists, vectors,
etc.) and returns their contents as a single, flat lazy sequence.
(flatten nil) returns an empty sequence."
Screened by: Alex Miller