nicojensen.de/vendor/bundle/gems/rouge-3.3.0/lib/rouge/demos/lasso

13 lines
227 B
Text
Raw Normal View History

2019-03-12 13:49:49 +01:00
/**!
Inserts all of the elements from #rhs into the array.
*/
define array->+(rhs::trait_forEach) => {
local(a = .asCopy);
#rhs->forEach => {
#a->insert(#1)
}
return (#a)
}
define array->onCompare(n::null) => 1