Interate on self and build an array

Property definitions

core :: array $ Iterator :: to_a
	# Interate on `self` and build an array
	fun to_a: Array[E]
	do
		var res = new Array[E]
		while is_ok do
			res.add(item)
			next
		end
		finish
		return res
	end
lib/core/collection/array.nit:952,2--962,4

functional $ OrderedIter :: to_a
        redef fun to_a
        do
                return sorted_arr
        end
lib/functional/iter_extras.nit:387,9--390,11