ref: 49f6758a734dc98ed7764d2f2ff8dfb77d4c75b0 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 }