Proceedings of the 26th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages 1999
DOI: 10.1145/292540.292545
|View full text |Cite
|
Sign up to set email alerts
|

Once upon a polymorphic type

Abstract: We present a sound type-based 'usage analysis' for a realistic lazy functional language. Accurate information on the usage of program subexpressions in a lazy functional language permits a compiler to perform a number of useful optimisations. However, existing analyses are either ad-hoc and approximate, or defined over restricted languages.Our work extends the Once Upon A Type system of Turner, Mossin, and Wadler (FPCA'95). Firstly, we add type polymorphism, an essential feature of typed functional programming… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
43
0

Year Published

2001
2001
2020
2020

Publication Types

Select...
6
2
1

Relationship

0
9

Authors

Journals

citations
Cited by 52 publications
(43 citation statements)
references
References 16 publications
0
43
0
Order By: Relevance
“…Hence we plan to investigate optimizations of the monadic code via some static analysis techniques. In particular, we speculate that the type-based usage analysis developed in [22] can be adapted to serve our purpose.…”
Section: Discussionmentioning
confidence: 99%
“…Hence we plan to investigate optimizations of the monadic code via some static analysis techniques. In particular, we speculate that the type-based usage analysis developed in [22] can be adapted to serve our purpose.…”
Section: Discussionmentioning
confidence: 99%
“…Many current forms of program analysis, including many type-based analyses, work best when given the entire program to be analyzed [21,7]. However, by their very nature, large software systems are assembled from components that are designed separately and updated at different times.…”
Section: Background and Motivationmentioning
confidence: 99%
“…While related, this aspect is in fact orthogonal to the issue of polymorphism in the underlying type. Recent work [18,12,6] have suggested that extension to type polymorphism is not necessarily straightforward.…”
Section: Type Polymorphismmentioning
confidence: 99%
“…In another dimension, we may also compare our sized analysis with other constraint-based type analyses, such as those for binding-time analysis [4], usage analysis [18], and flow analysis [5]. While the handling of type polymorphism is not so straightforward, the methods used in [18,6,12] are essentially the same with the need to instantiate type variables; and the need to maintain suitable relationships between existing and the newly instantiated annotations.…”
Section: Related Workmentioning
confidence: 99%