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