rf-web/vendor/bundle/gems/rouge-3.12.0/lib/rouge/demos/lasso

13 lines
227 B
Plaintext
Raw Normal View History

2019-10-21 08:18:17 +00: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