summaryrefslogtreecommitdiff
path: root/modules/std/stack.qs
diff options
context:
space:
mode:
Diffstat (limited to 'modules/std/stack.qs')
-rw-r--r--modules/std/stack.qs20
1 files changed, 20 insertions, 0 deletions
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() {
+
+ }
+}
+
+
+