ref: 4efd6777d6644058c97db129288a4ab48fcfd92d 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 }