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