Clojure

Misleading documentation string in doseq

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Declined
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Patch:
    Code

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.

Activity

Hide
Aaron Bedra added a comment -

Rich is this behavior intentional or a side effect? Just wondering about this before I promote it up.

Show
Aaron Bedra added a comment - Rich is this behavior intentional or a side effect? Just wondering about this before I promote it up.
Hide
Kevin Downey added a comment -

looks like an implementation detail to me.

Show
Kevin Downey added a comment - looks like an implementation detail to me.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: