A note on opaque types

Authors

  • Michael I. Schwartzbach

DOI:

https://doi.org/10.7146/dpb.v19i313.6703

Abstract

We extend the results in Schwartzbach: Static Correctness of Hierarchical Procedures to include opaque types. An opaque version of a type is different from the original but has the same values and the same order relations to other types. The opaque types allow a more flexible polymorphism and provide the usual pragmatic advantages of distinguishing between intended and unintended type equalities. Opaque types can be viewed as a compromise between synonym types and abstract types.

Author Biography

Michael I. Schwartzbach

Downloads

Published

1990-04-01

How to Cite

Schwartzbach, M. I. (1990). A note on opaque types. DAIMI Report Series, 19(313). https://doi.org/10.7146/dpb.v19i313.6703