           for i in [0...list.length]
             indices.push i
 
-          exports.shuffle(indices)
+          util.shuffle(indices)
           result = []
           for i in [0...count]
             result.push list[ indices[i] ]

      when 0 then null
      when 1 then list[0]
      else
      # return single entry
        if count == 1
          list[ @randi(0, list.length) ]


###

mersenne = require 'mersenne'
util = require '../util'

class Random
  constructor: (initialSeed=0) ->
