Extension of record types
- 1 June 1987
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGCSE Bulletin
- Vol. 19 (2) , 2-9
- https://doi.org/10.1145/24728.24729
Abstract
Software systems represent a hierarchy of modules. Client modules contain sets of procedures that extend the capabilities of imported modules. This concept of extension is here applied to data types. Extended types are related to their ancestor in terms of a set hierarchy. Variables of an extended type form a subset of the variables of the ancestor type. This scheme is easily and efficiently implementable, and is manifest by two new language constructs only: the type test and the type guard.Keywords
This publication has 1 reference indexed in Scilit:
- Programming in Modula-2Published by Springer Nature ,1982