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