Repository logo

Infoscience

  • English
  • French
Log In
Logo EPFL, École polytechnique fédérale de Lausanne

Infoscience

  • English
  • French
Log In
  1. Home
  2. Academic and Research Output
  3. Conferences, Workshops, Symposiums, and Seminars
  4. Lightweight Polymorphic Effects
 
conference paper

Lightweight Polymorphic Effects

Rytz, Lukas  
•
Odersky, Martin  
•
Haller, Philipp  
2012
ECOOP 2012 – Object-Oriented Programming
26th European Conference on Object-Oriented Programming

Type-and-effect systems are a well-studied approach for reasoning about the computational behavior of programs. Nevertheless, there is only one example of an effect system that has been adopted in a wide-spread industrial language: Java’s checked exceptions. We believe that the main obstacle to using effect systems in day-to-day programming is their verbosity, especially when writing functions that are polymorphic in the effect of their argument. To overcome this issue, we propose a new syntactically lightweight technique for writing effect-polymorphic functions. We show its independence from a specific kind of side-effect by embedding it into a generic and extensible framework for checking effects of multiple domains. Finally, we verified the expressiveness and practicality of the system by implementing it for the Scala programming language.

  • Files
  • Details
  • Metrics
Type
conference paper
DOI
10.1007/978-3-642-31057-7_13
Author(s)
Rytz, Lukas  
Odersky, Martin  
Haller, Philipp  
Date Issued

2012

Publisher

Springer-Verlag

Publisher place

Berlin, Heidelberg

Published in
ECOOP 2012 – Object-Oriented Programming
Series title/Series vol.

Lecture Notes in Computer Science; 7313

Start page

258

End page

282

Editorial or Peer reviewed

REVIEWED

Written at

EPFL

EPFL units
LAMP1  
Event nameEvent placeEvent date
26th European Conference on Object-Oriented Programming

Beijing, China

June 14 - 16, 2012

Available on Infoscience
February 28, 2012
Use this identifier to reference this record
https://infoscience.epfl.ch/handle/20.500.14299/78174
Logo EPFL, École polytechnique fédérale de Lausanne
  • Contact
  • infoscience@epfl.ch

  • Follow us on Facebook
  • Follow us on Instagram
  • Follow us on LinkedIn
  • Follow us on X
  • Follow us on Youtube
AccessibilityLegal noticePrivacy policyCookie settingsEnd User AgreementGet helpFeedback

Infoscience is a service managed and provided by the Library and IT Services of EPFL. © EPFL, tous droits réservés