Return a random proxy queue where result.take is random.

The point of such a proxy is to provide a randomized removal.

var a = [1,2,3]
var b = a.as_random.take
assert b == 1 or b == 2 or b == 3

Property definitions

core :: queue $ SimpleCollection :: as_random
	# Return a random proxy queue where `result.take` is random.
	#
	# The point of such a proxy is to provide a randomized removal.
	#
	# ~~~
	# var a = [1,2,3]
	# var b = a.as_random.take
	# assert b == 1 or b == 2 or b == 3 # Eh, it is random!
	# ~~~
	fun as_random: Queue[E] do return new RandQueue[E](self)
lib/core/queue.nit:165,2--174,57