A Theory of Typed Coercions and its Applications. Nikhil Swamy, Michael Hicks, and Gavin S. Bierman. In Proceedings of the ACM International Conference on Functional Programming (ICFP), pages 329-340, August 2009.

A number of important program rewriting scenarios can be recast as type-directed coercion insertion. These range from more theoretical applications such as coercive subtyping and supporting overloading in type theories, to more practical applications such as integrating static and dynamically typed code using gradual typing, and inlining code to enforce security policies such as access control and provenance tracking. In this paper we give a general theory of type-directed coercion insertion. We specifically explore the inherent tradeoff between expressiveness and ambiguity-the more powerful the strategy for generating coercions, the greater the possibility of several, semantically distinct rewritings for a given program. We consider increasingly powerful coercion generation strategies, work out example applications supported by the increased power (including those mentioned above), and identify the inherent ambiguity problems of each setting, along with various techniques to tame the ambiguities.

[ .pdf ]

@INPROCEEDINGS{swamy09coercion,
  AUTHOR = {Nikhil Swamy and Michael Hicks and Gavin S. Bierman},
  TITLE = {A Theory of Typed Coercions and its Applications},
  PAGES = {329--340},
  BOOKTITLE = {Proceedings of the {ACM} International Conference on Functional Programming (ICFP)},
  MONTH = AUG,
  YEAR = 2009
}

This file has been generated by bibtex2html 1.69