From 08ab881a480a73d6be005c4b4e1cf35814b53e3c Mon Sep 17 00:00:00 2001
From: chai <chaifix@163.com>
Date: Sat, 17 Oct 2020 15:22:09 +0800
Subject: +init

---
 modules/std/stack.qs | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 modules/std/stack.qs

(limited to 'modules/std/stack.qs')

diff --git a/modules/std/stack.qs b/modules/std/stack.qs
new file mode 100644
index 0000000..4151e39
--- /dev/null
+++ b/modules/std/stack.qs
@@ -0,0 +1,20 @@
+class Stack {
+    func init() { 
+        self._stack = []; 
+    } 
+    
+    func push(element) { 
+        self._stack.push(element); 
+    } 
+    
+    func pop() {
+        self._stack.pop(); 
+    } 
+    
+    func size() { 
+    
+    } 
+} 
+
+
+
-- 
cgit v1.1-26-g67d0