specially because `pop` returns the element… so yo...
# codereview
m
specially because
pop
returns the element… so you would need to do something like
stack.also { it.pop() }