Clojure

xf overload for vec and set

Details

  • Type: Feature Feature
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: Release 1.7
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

Having (vec xf coll) and (set xf coll) overloads seem useful as opposed to writing (into [] ...).

One might also consider these as variadic overloads, like the sequence function has. I am unsure about that since into doesn't have one and I know too little about multiple input transducers.

Activity

Hide
Leon Grapenthin added a comment -

After two more years with Clojure I don't see this as improvement anymore. (into [] ...) provides more expressiveness. Unless other parties are interest, I'd recommend to close this.

We still lack functionality to use the variadic map transducer with sets, but I have never needed it, so I wouldn't open a ticket for that myself.

Show
Leon Grapenthin added a comment - After two more years with Clojure I don't see this as improvement anymore. (into [] ...) provides more expressiveness. Unless other parties are interest, I'd recommend to close this. We still lack functionality to use the variadic map transducer with sets, but I have never needed it, so I wouldn't open a ticket for that myself.
Hide
Alex Miller added a comment -

I'm still interested.

Show
Alex Miller added a comment - I'm still interested.

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated: