Hostname: page-component-6766d58669-tq7bh Total loading time: 0 Render date: 2026-05-14T22:11:21.377Z Has data issue: false hasContentIssue false

Retrieving reusable software components by polymorphic type

Published online by Cambridge University Press:  10 August 2016

Colin Runciman
Affiliation:
Department of Computer Science, University of York, UK
Ian Toyn
Affiliation:
Department of Computer Science, University of York, UK
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

Polymorphic types are labels classifying both (a) defined components in a library and (b) contexts of free variables in partially written programs. It is proposed to help programmers make better use of software libraries by providing a system that, given (b), identifies candidates from (a) with matching types. Assuming at first that matching means unifying (i.e. having a common instance), efficient ways of implementing such a retrieval system are discussed and its likely effectiveness based on a quantitative study of currently available libraries is indicated. The applicative instance relation between types, which captures some intuitions about generalization/specialization is then introduced, and its use as the basis of a more flexible system is discussed.

Information

Type
Research Article
Copyright
Copyright © Cambridge University Press 1991
Submit a response

Discussions

No Discussions have been published for this article.