A little stack.
TODO: implement as reference class?
pop only removes elements. To retrieve them, use
1 2 3 4 5
attribute holding the stack
numer of element to peek at and numer of elements to pop (delete), respectively
list of things to push on the stack.
pop: the object with stack in list
an pushed/popped by the
nth stack element (without popping!)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.