2015
DOI: 10.1007/978-3-319-27810-0_1
|View full text |Cite
|
Sign up to set email alerts
|

Effect Systems Revisited—Control-Flow Algebra and Semantics

Abstract: Abstract. Effect systems were originally conceived as an inference-based program analysis to capture program behaviour-as a set of (representations of) effects. Two orthogonal developments have since happened. First, motivated by static analysis, effects were generalised to values in an algebra, to better model control flow (e.g. for may/must analyses and concurrency). Second, motivated by semantic questions, the syntactic notion of set-(or semilattice-) based effect system was linked to the semantic notion of… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
35
0

Year Published

2016
2016
2025
2025

Publication Types

Select...
6
3

Relationship

5
4

Authors

Journals

citations
Cited by 25 publications
(35 citation statements)
references
References 39 publications
0
35
0
Order By: Relevance
“…CMTT defines rules for composing context-dependent propositions that would allow us to express the splicing operation used in (mem-expr). In categorical terms, the context-dependent proposition can be modelled as a graded comonad [18,38]. The evaluation of a preview with no context dependencies (built implicitly into our evaluation rules) corresponds to the counit operation of a comonad and would be explicitly written as A → A.…”
Section: B Theories Of Delayed Previewsmentioning
confidence: 99%
“…CMTT defines rules for composing context-dependent propositions that would allow us to express the splicing operation used in (mem-expr). In categorical terms, the context-dependent proposition can be modelled as a graded comonad [18,38]. The evaluation of a preview with no context dependencies (built implicitly into our evaluation rules) corresponds to the counit operation of a comonad and would be explicitly written as A → A.…”
Section: B Theories Of Delayed Previewsmentioning
confidence: 99%
“…Even though they do not originate from intuition about programs, monad laws are unanimously accepted by the programming community. In contrast, various extensions of monads [41,45] usually motivate the laws by programming intuition, but there is often little agreement on the laws. The best example is the MonadPlus extension that adds an operation of type M a → M a → M a.…”
Section: Reasoning About Programs Using Monadsmentioning
confidence: 99%
“…This provides a general characterisation of the control-flow, allowing various kinds of data flow analysis including may and must analyses. The encoding of ⊕ is thus dependent on the notion of effect and so we cannot give a general encoding (work on effect control-flow algebras elucidates this [36]). We can however encode a restricted version of case.…”
Section: Control Flow: Conditionals and Fixed-pointsmentioning
confidence: 99%
“…They are the type system representation of effect systems, a general class of static program analysis for collecting information on effects such as state, exceptions, or resource use [12,20,50]. Classes of effect analyses are often defined abstractly via a system parameterised by an algebra of effects such as semi-lattices in early work [20] or semiring and Kleene algebra-like structures later [36,38]. On the other hand, session types describe and restrict 1 At the University of Cambridge, Computer Laboratory from January 2016.…”
Section: Introductionmentioning
confidence: 99%