ref: 690ab7aa8e6c56a4ae8a2bd5bce58d1df681234e 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 }