ref: 622d529211cbe9223fcbae00db289c0c2e92ab40 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 }