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