home *** CD-ROM | disk | FTP | other *** search
/ Programmer's ROM - The Computer Language Library / programmersrom.iso / ada / misc / stack.pro < prev    next >
Encoding:
Text File  |  1988-05-03  |  3.2 KB  |  69 lines

  1.  
  2. -------- SIMTEL20 Ada Software Repository Prologue ------------
  3. --                                                           -*
  4. -- Unit name    : stack_package
  5. -- Version      : 1.0
  6. -- Author       : Tom Duke
  7. --              : TI Ada Technology Branch
  8. --              : PO Box 801, MS 8007
  9. --              : McKinney, TX  75069
  10. -- DDN Address  : DUKE%TI-EG at CSNET-RELAY
  11. -- Copyright    : (c) N/A 
  12. -- Date created : 16 Apr 85 
  13. -- Release date : 16 Apr 85 
  14. -- Last update  : 16 Apr 85 
  15. -- Machine/System Compiled/Run on :DG MV 10000, ROLM ADE
  16. --                                                           -*
  17. ---------------------------------------------------------------
  18. --                                                           -*
  19. -- Keywords     : stack, generic stack 
  20. ----------------:
  21. --
  22. -- Abstract     : This is a generic package that provides the types,
  23. ----------------: procedures, and exceptions to define an abstract stack
  24. ----------------: and its corresponding operations.  Using an
  25. ----------------: instantiation of this generic package, one can declare
  26. ----------------: multiple versions of a stack of type GENERIC_STACK.
  27. ----------------: The stack operations provided include:
  28. ----------------: 1. clear the stack,
  29. ----------------: 2. pop the stack,
  30. ----------------: 3. push an element onto the stack, and
  31. ----------------: 4. access the top element on the stack.
  32. ----------------:  
  33. --                                                           -*
  34. ------------------ Revision history ---------------------------
  35. --                                                           -*
  36. -- DATE         VERSION    AUTHOR                  HISTORY
  37. -- 4/16/85    1.0    Tom Duke        Initial Release
  38. --                                                           -*
  39. ------------------ Distribution and Copyright -----------------
  40. --                                                           -*
  41. -- This prologue must be included in all copies of this software.
  42. --
  43. -- This software is released to the Ada community.
  44. -- This software is released to the Public Domain (note:
  45. --   software released to the Public Domain is not subject
  46. --   to copyright protection).
  47. -- Restrictions on use or distribution:  NONE
  48. --                                                           -*
  49. ------------------ Disclaimer ---------------------------------
  50. --                                                           -*
  51. -- This software and its documentation are provided "AS IS" and
  52. -- without any expressed or implied warranties whatsoever.
  53. -- No warranties as to performance, merchantability, or fitness
  54. -- for a particular purpose exist.
  55. --
  56. -- Because of the diversity of conditions and hardware under
  57. -- which this software may be used, no warranty of fitness for
  58. -- a particular purpose is offered.  The user is advised to
  59. -- test the software thoroughly before relying on it.  The user
  60. -- must assume the entire risk and liability of using this
  61. -- software.
  62. --
  63. -- In no event shall any person or organization of people be
  64. -- held responsible for any direct, indirect, consequential
  65. -- or inconsequential damages or lost profits.
  66. --                                                           -*
  67. -------------------END-PROLOGUE--------------------------------
  68.  
  69.