Skip to main content
Top
Published in:
Cover of the book

2001 | OriginalPaper | Chapter

Adequacy for Algebraic Effects

Authors : Gordon Plotkin, John Power

Published in: Foundations of Software Science and Computation Structures

Publisher: Springer Berlin Heidelberg

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Moggi proposed a monadic account of computational effects. He also presented the computational λ-calculus, λ c , a core call-by-value functional programming language for effects; the effects are obtained by adding appropriate operations. The question arises as to whether one can give a corresponding treatment of operational semantics. We do this in the case of algebraic effects where the operations are given by a single-sorted algebraic signature, and their semantics is supported by the monad, in a certain sense. We consider call-by-value PCF with— and without—recursion, an extension of λ c with arithmetic. We prove general adequacy theorems, and illustrate these with two examples: non-determinism and probabilistic nondeterminism.

Metadata
Title
Adequacy for Algebraic Effects
Authors
Gordon Plotkin
John Power
Copyright Year
2001
Publisher
Springer Berlin Heidelberg
DOI
https://doi.org/10.1007/3-540-45315-6_1

Premium Partner