[CLJ-722] Misleading documentation string in doseq Created: 21/Jan/11 Updated: 02/Dec/11 Resolved: 02/Dec/11 |
|
| Status: | Closed |
| Project: | Clojure |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Defect | Priority: | Trivial |
| Reporter: | Baishampayan Ghose | Assignee: | Unassigned |
| Resolution: | Declined | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Patch: | Code |
| Waiting On: | Rich Hickey |
| Description |
|
The documentation string of doseq is slightly misleading because it doesn't state that doseq will behave like "do" when the seq-exprs argument is empty. Attached patch clarifies this. |
| Comments |
| Comment by Aaron Bedra [ 28/Jan/11 10:40 AM ] |
|
Rich is this behavior intentional or a side effect? Just wondering about this before I promote it up. |
| Comment by Kevin Downey [ 29/Nov/11 7:38 PM ] |
|
looks like an implementation detail to me. |