ref: b31626248ea64c23d2020846e2cac1c751348b61 dir: /lib/std/sldup.myr/
use "alloc" use "die" use "slcp" pkg std = generic sldup : (sl : @a[:] -> @a[:]) ;; generic sldup = {sl var ret ret = slalloc(sl.len) slcp(ret, sl) -> ret }