Proceedings of the 10th ACM SIGPLAN Workshop on Generic Programming 2014
DOI: 10.1145/2633628.2633636
|View full text |Cite
|
Sign up to set email alerts
|

Algebraic effects and effect handlers for idioms and arrows

Abstract: Plotkin and Power's algebraic effects combined with Plotkin and Pretnar's effect handlers provide a foundation for modular programming with effects. We present a generalisation of algebraic effects and effect handlers to support other kinds of effectful computations corresponding to McBride and Paterson's idioms and Hughes' arrows.

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
13
0

Year Published

2016
2016
2021
2021

Publication Types

Select...
7
2

Relationship

1
8

Authors

Journals

citations
Cited by 16 publications
(13 citation statements)
references
References 25 publications
0
13
0
Order By: Relevance
“…Variations and Applications. Lindley (2014) investigates an adaptation of effect handlers to more restrictive forms of computation based on idioms (McBride & Paterson, 2008) and arrows (Hughes, 2004). Wu et al (2014) study scoped effect handlers.…”
Section: Layered Monads and Monadic Reflection Filinski's Work On Momentioning
confidence: 99%
“…Variations and Applications. Lindley (2014) investigates an adaptation of effect handlers to more restrictive forms of computation based on idioms (McBride & Paterson, 2008) and arrows (Hughes, 2004). Wu et al (2014) study scoped effect handlers.…”
Section: Layered Monads and Monadic Reflection Filinski's Work On Momentioning
confidence: 99%
“…Hence, effects and handlers implement a more structured form of delimited continuation [Bauer and Pretnar 2015;Forster et al 2017;Kammar et al 2013]. Note that λ cart employs deep handlers, i.e., the resumption re-applies the current handler to the rest of the computation, reflecting the intuition that handlers are folds over computation trees [Lindley 2014].…”
Section: Algebraic Effects and Handlersmentioning
confidence: 99%
“…A part of the motivation for our approach to multiple occurrences of the same effect in a row comes from the monadic interpretation of algebraic effects Power 2001b, 2002], used, for example, to embed algebraic effects in a pure language, such as Haskell [Kiselyov et al 2013;Wu and Schrijvers 2015]. In this setting, operations are given in the continuation-passing style (see [Lindley 2014] for a discussion), that is, each operation is specified by the type of its parameter and a generalised arity given by an endofunctor. For example, a direct-style operation ask R : 1 → R σ corresponds to a continuation-passing operation with the arity given by the representable endofunctor (-) σ .…”
Section: Monadic Interpretationmentioning
confidence: 99%