<< Back to previous view

[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: Text File 0001-Fix-the-docstring-of-doseq-to-clarify-that-it-works-.patch    
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.

Generated at Sat Oct 25 12:54:01 CDT 2014 using JIRA 4.4#649-r158309.