package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Aug 21, 2022
License: BSD-3-Clause
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package stack implements the Stack type.
Stack is a last-in-first-out stack of Numbers.
Empty returns true if the Stack is empty.
End returns the index of the top Number on the Stack.
Len returns the length of the Stack.
Pop removes and returns the top Number on the Stack.
Push appends a Number to the top of the Stack.
String returns the Stack as a string.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.