ref: 7f4889e9fca99864162b0b66c6e407f467a65ccb 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 }