Eff
swMATH ID:  22721 
Software Authors:  Bauer, Andrej; Pretnar, Matija 
Description:  Eff is a functional programming language based on algebraic effects and their handlers. Algebraic effects are a way of adding computational effects to a pure functional setting. In a technical sense they are subsumed by the monadic approach to computational effects, but they offer new ways of programming that are not easily achieved with monads. In particular, algebraic effects are combined seamlessly, whereas monad transformers are needed in the monadic style. The main idea of eff is that computational effects are accessed through a set of operations, for example lookup and update for state, read and write for I/O, raise for exceptions, etc. The behavior of operations is determined by handlers. Just like an exception handler determines what happens when an exception is raised, a general handler describes the actions taken when an operation is triggered. Examples of handlers include state, transactions, nondeterminism, stream redirection, backtracking, delimited continuations, and many others. Because eff supports firstclass effects and handlers, programmers may define new computational effects, combine existing ones, and handle effects in novel ways. For instance, MLstyle references are a defined concept in eff. Eff code looks and feels like that of Ocaml because eff uses Ocaml syntax extended with constructs for effects and handlers. Furthermore, eff is a statically typed language with parametric polymorphism and type inference. The types are similar to those of OCaml and other variants of ML in the sense that they do not express any information about computational effects. 
Homepage:  http://math.andrej.com/eff/ 
Keywords:  algebraic effects; effect handlers; effect system 
Related Software:  Koka; Haskell; GitHub; ML; Coq; Links; Frank; Shonky; Idris; Irdis; Agda; Twelf; FreeSpec; operational; Kami; Rocksalt; FoCaLiZe; Paco; Coquet; ESC/Java 
Cited in:  22 Documents 
Standard Articles
2 Publications describing the Software, including 2 Publications in zbMATH  Year 

Programming with algebraic effects and handlers. Zbl 1304.68025 Bauer, Andrej; Pretnar, Matija 
2015

An effect system for algebraic effects and handlers. Zbl 1448.68203 Bauer, Andrej; Pretnar, Matija 
2014

all
top 5
Cited by 36 Authors
all
top 5
Cited in 8 Serials
Cited in 3 Fields
22  Computer science (68XX) 
6  Mathematical logic and foundations (03XX) 
2  Category theory; homological algebra (18XX) 