Add all items of coll before the first one.

var a = [1,2,3]
a.prepend([7..9])
assert a  == [7,8,9,1,2,3]

Alias of insert_at(coll, 0)

Property definitions

core $ Sequence :: prepend
	# Add all items of `coll` before the first one.
	#
	#     var a = [1,2,3]
	#     a.prepend([7..9])
	#     assert a  == [7,8,9,1,2,3]
	#
	# Alias of `insert_at(coll, 0)`
	fun prepend(coll: Collection[E]) do insert_all(coll, 0)
lib/core/collection/abstract_collection.nit:1147,2--1154,56

pthreads $ ConcurrentSequence :: prepend
	redef fun prepend(e)
	do
		mutex.lock
		real_collection.prepend e
		mutex.unlock
	end
lib/pthreads/concurrent_collections.nit:341,2--346,4