type Stack
import bend-collections@1.0.0.0/src/containers/stack.bend as Stackimport Base
4# Stack over the native singly linked List, with a stored length.
5# Push/pop/peek/length O(1); to_list shares immutable Data elements/list.
6type Stack<-T: Data> is Type:
7 ST{items: List<&2, T>, count: Nat}