mut-stack[t] record mut (has private fields)
list-new[t] t mut-stack(a t[])any[t] bool(a t mut-stack)size[t] nat32(a t mut-stack)~=[t] void(a t mut-stack, value t)~~=[t] void(a t mut-stack, values t[])peek[t] t option(a t mut-stack)pop[t] t option(a t mut-stack)some[t] bool(a t mut-stack, f bool mut(t))some-reverse[t] bool(a t mut-stack, f bool mut(t))filter=[t] void(a t mut-stack, f bool mut(t))
Mutable stack.
Elements are pushed and popped from the top of the stack. Iterates from the bottom (least recently pushed) to the top (most recently pushed).