Abstract
Type information has many applications; it can e.g. be used in optimized compilation, termination analysis and error detection. However, logic programs are typically untyped. A well-typed program has the property that it behaves identically on well-typed goals with or without type checking. Hence the automatic inference of a well-typing is worthwhile. Existing inferences are either cheap and inaccurate, or accurate and expensive. By giving up the requirement that all calls to a predicate have types that are instances of a unique polymorphic type but instead
allowing multiple polymorphic typings for the same predicate, we obtain a novel strongly-connected-component-based analysis that provides a good compromise between accuracy and computational cost.
allowing multiple polymorphic typings for the same predicate, we obtain a novel strongly-connected-component-based analysis that provides a good compromise between accuracy and computational cost.
| Original language | English |
|---|---|
| Book series | Lecture Notes in Computer Science |
| Pages (from-to) | 152-167 |
| Number of pages | 16 |
| ISSN | 0302-9743 |
| Publication status | Published - 2009 |
| Event | Logic-Based Program Synthesis and Transformation, LOPSTR 2008 - Valencia, Spain Duration: 17 Jul 2008 → 18 Jul 2008 Conference number: 18 |
Conference
| Conference | Logic-Based Program Synthesis and Transformation, LOPSTR 2008 |
|---|---|
| Number | 18 |
| Country/Territory | Spain |
| City | Valencia |
| Period | 17/07/2008 → 18/07/2008 |
Keywords
- type inference
- logic programming
Citation Styles
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver