Sciweavers

POPL
1993
ACM

Formal Parametric Polymorphism

13 years 8 months ago
Formal Parametric Polymorphism
A polymorphic function is parametric if its behavior does not depend on the type at which it is instantiated. Starting with Reynolds's work, the study of parametricity is typically semantic. In this paper, we develop a syntactic approach to parametricity, and a formal system that embodies this approach, called system R . Girard’s system F deals with terms and types; R is an extension of F that deals also with relations between types. In R , it is possible to derive theorems about functions from their types, or “theorems for free”, as Wadler calls them. An easy “theorem for free” asserts that the type ∀(X)X→Bool contains only constant functions; this is not provable in F. There are many harder and more substantial examples. metatheorems can also be obtained, such as a syntactic version of Reynolds's abstraction theorem.
Martín Abadi, Luca Cardelli, Pierre-Louis C
Added 10 Aug 2010
Updated 10 Aug 2010
Type Conference
Year 1993
Where POPL
Authors Martín Abadi, Luca Cardelli, Pierre-Louis Curien
Comments (0)