Cartesian product, over r times self.

See CartesianCollection for details.

FIXME: Cannot be used if RTA is enabled. So niti or --erasure only.

Property definitions

combinations :: combinations $ Collection :: product
	# Cartesian product, over `r` times `self`.
	#
	# See `CartesianCollection` for details.
	#
	# FIXME: Cannot be used if RTA is enabled. So `niti` or `--erasure` only.
	fun product(r: Int): Collection[SequenceRead[E]]
	do
		return new CartesianCollection[E]([self]*r)
	end
lib/combinations/combinations.nit:26,2--34,4