ref: 0b0fb103248ec7b12b3a2b94d88b1fe7a0b4403e 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 }