JEff: Objects for Effect
Effect handling is a way to structure and scope side-effects which is gaining popularity as an alternative to monads in purely functional programming languages. Languages with support for effect handling allow the programmer to define idioms for state, exception handling, asynchrony, backtracking etc. from within the language. Functional programming languages, however, operate within a closed world assumption, which prohibits certain patterns of polymorphism well-known from object-oriented languages. In this paper we introduce JEff, an object-oriented programming language with native support for effect handling, to provide first answers to the question what it would mean to integrate OO programming with effect handling. We illustrate how user defined effects could benefit from interface polymorphism, and present its runtime semantics and type system.
Thu 22 NovDisplayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
10:00 - 11:40 | |||
10:00 25mTalk | JEff: Objects for Effect PLNL | ||
10:25 25mTalk | Sound and Reusable Components for Abstract Interpretation PLNL Sven Keidel Delft University of Technology, Netherlands, Sebastian Erdweg Delft University of Technology, Netherlands | ||
10:50 25mTalk | High-performance parallel arrays for Haskell PLNL Trevor L. McDonell Utrecht University | ||
11:15 25mTalk | Reversible Session-Based Concurrency, and its Haskell Implementation PLNL |