Abstract
Reasoning about programs that use effects can be much harder than reasoning about their pure counterparts. This paper presents a predicate transformer semantics for a variety of effects, including exceptions, state, non-determinism, and general recursion. The predicate transformer semantics gives rise to a refinement relation that can be used to relate a program to its specification, or even calculate effectful programs that are correct by construction.
Author supplied keywords
Cite
CITATION STYLE
Swierstra, W., & Baanen, T. (2019). A predicate transformer semantics for effects (functional pearl). Proceedings of the ACM on Programming Languages, 3(ICFP). https://doi.org/10.1145/3341707
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.