ClojureScript

Add clojure.core/shuffle implementation

Details

  • Type: Enhancement Enhancement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Patch:
    Code and Test

Description

I added a simple implementation of clojure.core/shuffle, which uses goog.array's Fisher-Yates for its implementation. Included in the patch is a test to make sure it works.

  1. 0001-Add-clojure.core-shuffle-and-a-test.patch
    20/May/12 4:24 PM
    2 kB
    Evan Mezeske
  2. shuffle.patch
    17/May/12 6:45 PM
    1 kB
    Evan Mezeske
  3. shuffle.v2.patch
    17/May/12 7:11 PM
    1 kB
    Evan Mezeske

Activity

Evan Mezeske made changes -
Field Original Value New Value
Attachment shuffle.v2.patch [ 11224 ]
Evan Mezeske made changes -
David Nolen made changes -
Resolution Completed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
David Nolen made changes -
Status Resolved [ 5 ] Closed [ 6 ]

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: