Skip to content

Do not depend on Monad(return) - #93

Merged
stepcut merged 1 commit into
Happstack:masterfrom
ysangkok:monad-of-no-return
Nov 6, 2026
Merged

stepcut merged 1 commit into
Happstack:masterfrom
ysangkok:monad-of-no-return

Conversation

@ysangkok

@ysangkok ysangkok commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

This still retains use of the return binding, but according to the
reduced breakage plan, the binding will stay, as a function outside of
the class. So we just need to import it as part of explicit import
lists.

See

This still retains use of the `return` binding, but according to the
reduced breakage plan, the binding will stay, as a function outside of
the class. So we just need to import it as part of explicit import
lists.

See
https://gitlab.haskell.org/ghc/ghc/-/wikis/Proposal/Monad-Of-No-Return#reduced-breakage-variant
@ysangkok

ysangkok commented Nov 6, 2026

Copy link
Copy Markdown
Contributor Author

@stepcut Please have a look, this ensures compatibility with future GHC releases, according to the linked plans.

@stepcut
stepcut merged commit 0591f8b into Happstack:master Nov 6, 2026
13 of 14 checks passed
@ysangkok
ysangkok deleted the monad-of-no-return branch November 6, 2026 20:01
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.

2 participants