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