Witnessing side-effects

Tachio Terauchi*, Alex Aiken

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

7 Citations (Scopus)


We present a new approach to the old problem of adding side effects to purely functional languages. Our idea is to extend the language with "witnesses," which is based on an arguably more pragmatic motivation than past approaches. We give a semantic condition for correctness and prove it is sufficient. We also give a static checking algorithm that makes use of a network flow property equivalent to the semantic condition.

Original languageEnglish
Pages (from-to)105-115
Number of pages11
JournalACM SIGPLAN Notices
Issue number9
Publication statusPublished - 2005
Externally publishedYes


  • Functional languages
  • Side-effects

ASJC Scopus subject areas

  • Software
  • Computer Graphics and Computer-Aided Design


Dive into the research topics of 'Witnessing side-effects'. Together they form a unique fingerprint.

Cite this