Retrieving re-usable software components by polymorphic type
Retrieving re-usable software components by polymorphic type
复制标题
通过多态类型检索可重用的软件组件
DOI:
10.1145/99370.99383
复制
发表时间:
1989
影响因子:
1.1
通讯作者:
I. Toyn
中科院分区:
文献类型:
--
作者:
C. Runciman;I. Toyn
Abstract 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.