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