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