ref: 945c62edc1fc6dd17e1883dab8b7bc11d16276ba 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 }