stack = [] of Int32 # push stack.push 10 stack << 10 # pop var = stack.pop # empty flag = stack.empty? # top / peek var = stack.last