Details
-
Type:
Enhancement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Declined
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
In Clojure 1.2, keep-indexed and map-indexed were introduced in lieu of promoting clojure.contrib.seq/indexed.
The difference between filter and keep is that keep treats false and nil differently; only nil values are removed. This behaviour may be desired in some places, but filter is much more common. It seems that since keep-indexed exists without filter-indexed, people might pull in the nil/false distinction where that's not appropriate.
I can provide a patch for this if desired.
Activity
Stuart Halloway
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Waiting On | richhickey |
Rich Hickey
made changes -
| Waiting On | richhickey | technomancy |
Phil Hagelberg
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Declined [ 2 ] |