Task

Pass a function     as an argument     to another function.



Related task

   First-class functions


function Map oldlist, func
	put () into newlist
	repeat with each item of oldlist
		insert (func)(it) after newlist
	end repeat
	return newlist
end Map