summaryrefslogtreecommitdiff
path: root/modules/std/stack.qs
blob: 4151e392e1ef65239f9bc30194fbf1e031bbf070 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class Stack {
    func init() { 
        self._stack = []; 
    } 
    
    func push(element) { 
        self._stack.push(element); 
    } 
    
    func pop() {
        self._stack.pop(); 
    } 
    
    func size() { 
    
    } 
}