Skip to content
Snippets Groups Projects
  • xamgore's avatar
    New function for shuffling associative arrays · 19e41c26
    xamgore authored
    There is a problem at the standard (STL) realization: it doesn't work with assoc arrays, so [0 => 123, 5 => 123] is transformed into [0 => 123, 1 => 123].
    
    `Arr::shuffle_assoc` saves keys.
    19e41c26
Forked from it-lab / grade
Source project has a limited visibility.