From a software engineering point of view, logic programming lacks many properties allowing secure development of large programs by many programmers. In this paper we try to improve these properties by proposing a polymorphic type system for Prolog. Our type system is able to deal with subtype relations if information about dataflow within clauses is available. This information can be given by a mode system. We give an outline of a type checking algorithm for this type system and discuss several problems which do not arise in type systems without subtypes.
CITATION STYLE
Dietrich, R., & Hagl, F. (1988). A polymorphic type system with subtypes for Prolog. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 300 LNCS, pp. 79–93). Springer Verlag. https://doi.org/10.1007/3-540-19027-9_6
Mendeley helps you to discover research relevant for your work.