ref: 5c11d9f0c97f8b466597c680e1178a61c676c489 dir: /libstd/slappend.myr/
use "alloc.use" pkg std = generic slappend : (sl : @a[:], v : @a -> @a[:]) ;; generic slappend = {sl, v sl = slgrow(sl, sl.len + 1) sl[sl.len - 1] = v -> sl }