-------- SIMTEL20 Ada Software Repository Prologue ------------ -- -* -- Unit name : stack_package -- Version : 1.0 -- Author : Tom Duke -- : TI Ada Technology Branch -- : PO Box 801, MS 8007 -- : McKinney, TX 75069 -- DDN Address : DUKE%TI-EG at CSNET-RELAY -- Copyright : (c) N/A -- Date created : 16 Apr 85 -- Release date : 16 Apr 85 -- Last update : 16 Apr 85 -- Machine/System Compiled/Run on :DG MV 10000, ROLM ADE -- -* --------------------------------------------------------------- -- -* -- Keywords : stack, generic stack ----------------: -- -- Abstract : This is a generic package that provides the types, ----------------: procedures, and exceptions to define an abstract stack ----------------: and its corresponding operations. Using an ----------------: instantiation of this generic package, one can declare ----------------: multiple versions of a stack of type GENERIC_STACK. ----------------: The stack operations provided include: ----------------: 1. clear the stack, ----------------: 2. pop the stack, ----------------: 3. push an element onto the stack, and ----------------: 4. access the top element on the stack. ----------------: -- -* ------------------ Revision history --------------------------- -- -* -- DATE VERSION AUTHOR HISTORY -- 4/16/85 1.0 Tom Duke Initial Release -- -* ------------------ Distribution and Copyright ----------------- -- -* -- This prologue must be included in all copies of this software. -- -- This software is released to the Ada community. -- This software is released to the Public Domain (note: -- software released to the Public Domain is not subject -- to copyright protection). -- Restrictions on use or distribution: NONE -- -* ------------------ Disclaimer --------------------------------- -- -* -- This software and its documentation are provided "AS IS" and -- without any expressed or implied warranties whatsoever. -- No warranties as to performance, merchantability, or fitness -- for a particular purpose exist. -- -- Because of the diversity of conditions and hardware under -- which this software may be used, no warranty of fitness for -- a particular purpose is offered. The user is advised to -- test the software thoroughly before relying on it. The user -- must assume the entire risk and liability of using this -- software. -- -- In no event shall any person or organization of people be -- held responsible for any direct, indirect, consequential -- or inconsequential damages or lost profits. -- -* -------------------END-PROLOGUE--------------------------------