ref: 27097e78de938a29a368f9198ed1b1b6377090dd dir: /lib/std/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 }