Skip to content

What are scoped handlers? #539

Answered by TimWhiting
JanBeh asked this question in Q&A
May 25, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

I believe this would be the recommended paper to read for both scoped effects and named handlers. First-class Names for Effect Handlers.
You obviously don't have to understand the formalism to use them, but section 2 has several examples, section 3 is still pretty understandable, and you can skip to section 7 for more examples.

If you don't have access to the paper via that website you can get the technical report which is very similar here: https://www.microsoft.com/en-us/research/publication/first-class-named-effect-handlers/

Additionally, your mention of passing a function to be called in the context where the effect is being performed I'm pretty sure is a problem addressed by this pap…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@JanBeh
Comment options

@JanBeh
Comment options

@TimWhiting
Comment options

Answer selected by JanBeh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants