A theory of substructural types and control

Jesse A. Tov*, Riccardo Pucella

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review


Exceptions are invaluable for structured error handling in high-level languages, but they are at odds with linear types. More generally, control effects may delete or duplicate portions of the stack, which, if we are not careful, can invalidate all substructural usage guarantees for values on the stack. We have developed a type-and-effect system that tracks control effects and ensures that values on the stack are never wrongly duplicated or dropped. We present the system first with abstract control effects and prove its soundness. We then give examples of three instantiations with particular control effects, including exceptions and delimited continuations, and show that they meet the soundness criteria for specific control effects..

Original languageEnglish (US)
Pages (from-to)625-641
Number of pages17
JournalACM SIGPLAN Notices
Issue number10
StatePublished - Oct 1 2011


  • Languages

ASJC Scopus subject areas

  • Computer Science(all)


Dive into the research topics of 'A theory of substructural types and control'. Together they form a unique fingerprint.

Cite this