Conversation

This leads to an annoying cycle of features however. If effects need to be reified as data, then will yielding effects also require effects? 😳 There are ways to optimise away handlers using inlining and fusion, but this goes to a more fundamental level I think? 2/3
1
i.e., an effect is an interface, a carrier is an implementation of one or more of those interfaces, and you install a particular carrier into TLS before executing the code that uses the effect.
1
1
Yeah, not sure if I'm using 'dual' in the right sense here! I was linked this paper which seems to describe a way of compiling effects and handlers into the above style:
Quote Tweet
Replying to @brendanzab
There was the recent ps.informatik.uni-tuebingen.de/publications/s and some other papers at ICFP2020
2
1