Clojure

Enhance (vector-of) to populate vector

Details

  • Type: Enhancement Enhancement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: Backlog
  • Component/s: None
  • Labels:
    None
  • Approval:
    Ok

Description

As discussed on clojure-dev at <http://groups.google.com/group/clojure-dev/browse_thread/thread/97137884bb33f8ee>, I would like to enhance (vector-of) so that it can create a populated vector. There are two ways to do this:

1. Like vector, take an arbitrary number of arguments used to populate the array.
2. Like vec, take a collection and use it to populate the array.

  1. enhance-vector-of.patch
    25/Feb/11 4:29 PM
    4 kB
    Daniel Solano Gómez
  2. updated-enhance-vector-of.patch
    10/Mar/11 2:02 PM
    4 kB
    Daniel Solano Gómez

Activity

Daniel Solano Gómez made changes -
Field Original Value New Value
Attachment enhance-vector-of.patch [ 10121 ]
Daniel Solano Gómez made changes -
Status In Progress [ 3 ] Open [ 1 ]
Stuart Halloway made changes -
Reporter Assembla Importer [ importer ]
Priority Minor [ 4 ]
Approval Test Screened
Rich Hickey made changes -
Approval Screened Incomplete
Daniel Solano Gómez made changes -
Attachment updated-enhance-vector-of.patch [ 10143 ]
Daniel Solano Gómez made changes -
Approval Incomplete Test
Alan Dipert made changes -
Approval Test Screened
Waiting On stu
Rich Hickey made changes -
Approval Screened Ok
Stuart Halloway made changes -
Status Open [ 1 ] Closed [ 6 ]
Resolution Completed [ 1 ]
Alex Miller made changes -
Fix Version/s Approved Backlog [ 10034 ]
Fix Version/s Backlog [ 10035 ]

People

Vote (1)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: