Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Eff to make it work with GHC 9.6 #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

s-and-witch
Copy link

Problem:
Delcont API used in the library, incompatible with the one
implemented in upstream GHC, so eff just doesn't compile

Solution:
Previous primitive semantic was build in that each control0#
captures continuation to nearest prompt#, so having one PromptTag#
for all prompt#'s seems to be a simple drop-in replacement.

Please tell me if this patch violates library or RTS semantics.

Problem:
    Delcont api used in the library incompalible with the one
    implemented in upstream GHC, so eff just doesn't compile

Solution:
    Previous primitive semantic was build in that each control0#
    captures continuation to nearest prompt#, so having one PromptTag#
    for all prompt#'s seems to be a simple drop-in replacement.
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