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