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