2015
DOI: 10.1007/978-3-319-19797-5_15
|View full text |Cite
|
Sign up to set email alerts
|

Fusion for Free

Abstract: Algebraic effect handlers are a recently popular approach for modelling side-effects that separates the syntax and semantics of effectful operations. The shape of syntax is captured by functors, and free monads over these functors denote syntax trees. The semantics is captured by algebras, and effect handlers pass these over the syntax trees to interpret them into a semantic domain. This approach is inherently modular: different functors can be composed to make trees with richer structure. Such trees are inter… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
4
0

Year Published

2017
2017
2022
2022

Publication Types

Select...
5
3
1

Relationship

2
7

Authors

Journals

citations
Cited by 18 publications
(4 citation statements)
references
References 31 publications
0
4
0
Order By: Relevance
“…Another issue is to establish a relationship between syntax with scopes and frameworks like the second-order algebraic theories introduced by Fiore and Mahmoud [9]. As for the practical aspects, it is an interesting task to fully work out an implementation with more advanced features, such as fusion [28], either in Haskell or a language with native support for handlers, like Eff [4].…”
Section: Discussionmentioning
confidence: 99%
“…Another issue is to establish a relationship between syntax with scopes and frameworks like the second-order algebraic theories introduced by Fiore and Mahmoud [9]. As for the practical aspects, it is an interesting task to fully work out an implementation with more advanced features, such as fusion [28], either in Haskell or a language with native support for handlers, like Eff [4].…”
Section: Discussionmentioning
confidence: 99%
“…One of these is performance, in particular, establishing to what extent we trade off computational efficiency in order to achieve generality in our approach. It is hoped that some of this can be offset by the performance gains of "fusion properties" [22] which the setting of structured recursion may give rise to; further insight would be needed as to the necessary circumstance for our implementation to exploit this. A second direction is to explore the many useful universal properties that recursion schemes enjoy, such as having unique solutions and being well-formed [13]; these may offer a means for equationally reasoning about the construction and evaluation of neural networks.…”
Section: Example: Training a Fully Connected Networkmentioning
confidence: 99%
“…A problem with this approach is that instantiating effects in several steps leads to several encodings and decodings of the free monad, and ultimately suboptimal performance, although people have worked to fix this [39]. Our approach does not require changing the representation of effectful code just for instantiating effect interfaces and as such, avoids this source of suboptimal performance.…”
Section: Algebraic Effects and Handlersmentioning
confidence: 99%