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