Skip to content

Add testcase of underk --- fails occurs check#36

Draft
DanGooding wants to merge 4 commits intomainfrom
underk-testcase
Draft

Add testcase of underk --- fails occurs check#36
DanGooding wants to merge 4 commits intomainfrom
underk-testcase

Conversation

@DanGooding
Copy link
Copy Markdown
Owner

This test case ensures underk give the correct semantics when handling of a tail-resumptive operation
gets interrupted, and resumed under changed enclosing handlers.

The occurs check prevents us leaking the resumption as we need to. We could either subvert the type-system (writing an inference phase which only adds effect labels to handler + perform-sites), or add datatypes and 'hide' the recursion in an inductive type.

@DanGooding DanGooding marked this pull request as draft November 17, 2025 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant