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

People

Vote (1)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: