Skip to content

Update Eff to make it work with GHC 9.6#17

Open
s-and-witch wants to merge 1 commit intohasura:masterfrom
s-and-witch:s-and-witch/update-eff-to-ghc-9.6
Open

Update Eff to make it work with GHC 9.6#17
s-and-witch wants to merge 1 commit intohasura:masterfrom
s-and-witch:s-and-witch/update-eff-to-ghc-9.6

Conversation

@s-and-witch
Copy link
Copy Markdown

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