A polymorphic type system for prolog

作者:

摘要

We describe a polymorphic type scheme for Prolog which makes static type checking possible. Polymorphism gives a good degree of flexibility to the type system, and makes it intrude very little on a user's programming style. The only additions to the language are type declarations, which an interpreter can ignore if it so desires, with the guarantee that a well-typed program will behave identically with or without type checking. Our implementation is discussed and we observe that the type resolution problem for a Prolog program is another Prolog (meta)program.

论文关键词:

论文评审过程:Available online 20 February 2003.

论文官网地址:https://doi.org/10.1016/0004-3702(84)90017-1