• DocumentCode
    970138
  • Title

    Safe Data Type Specifications

  • Author

    Phillips, N.C.K.

  • Author_Institution
    Department of Computer Science, University of Natal, Pietermaritzburg, South Africa.
  • Issue
    3
  • fYear
    1984
  • fDate
    5/1/1984 12:00:00 AM
  • Firstpage
    285
  • Lastpage
    289
  • Abstract
    This paper discusses the current style of algebraic data type specifications. Some simple examples illustrate that whether or not two objects of the type being specified are equal can be implementation dependent, even for very simple objects of the type. To remedy this, it is proposed that specifications should be safe, where safety is a stronger requirement than Guttag´s sufficient completeness. The paper also discusses when an operator should be part of a specification and when it should be introduced by extension, and concludes with safe specifications of some common data types.
  • Keywords
    Africa; Computer science; Safety; Abstract data types; algebraic axioms; type specifications;
  • fLanguage
    English
  • Journal_Title
    Software Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0098-5589
  • Type

    jour

  • DOI
    10.1109/TSE.1984.5010237
  • Filename
    5010237