ref: 2d9fe7100209acb431e392d58e4cf4eccfde00b7 dir: /lib/std/slpop.myr/
use "types" use "alloc" pkg std = generic slpop : (sl : @a[:]# -> @a) ;; generic slpop = {sl var elt elt = sl#[sl#.len - 1] slgrow(sl, sl#.len - 1) -> elt }