[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
article
Free access

A note on covariance and contravariance unification

Published: 01 January 1996 Publication History

Abstract

Viewing functions with arguments as defining attribute spaces leads to a consistent extension of the conventional object-oriented type system as well as suggesting a more general dispatching strategy which unites the covariant and contravariant views of function subtyping. These views are properties of a function definition, rather than mutually exclusive constraints.

References

[1]
[Cas94] Castagna G., Covariance and contravariance: conflict without a cause, Technical Report liens-94-18, LIENS, October 1994. Available by anon. ftp from ftp.ens.fr in /pub/dmi/user/castagna/covariance.dvi.Z.
[2]
[Cas95] Castagna G., and Leavens G. T., Foundations of Object-Oriented Languages, 2nd Workshop Report, ACM SIGPLAN NOTICES, Vol. 30 No. 2 Feb. 1995.

Cited By

View all
  • (2006)Type-safe compilation of covariant specialization: A practical caseECOOP ’96 — Object-Oriented Programming10.1007/BFb0053054(3-25)Online publication date: 21-May-2006

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM SIGPLAN Notices
ACM SIGPLAN Notices  Volume 31, Issue 1
Jan. 1996
47 pages
ISSN:0362-1340
EISSN:1558-1160
DOI:10.1145/249094
Issue’s Table of Contents

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 January 1996
Published in SIGPLAN Volume 31, Issue 1

Check for updates

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)62
  • Downloads (Last 6 weeks)8
Reflects downloads up to 20 Jan 2025

Other Metrics

Citations

Cited By

View all
  • (2006)Type-safe compilation of covariant specialization: A practical caseECOOP ’96 — Object-Oriented Programming10.1007/BFb0053054(3-25)Online publication date: 21-May-2006

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media