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

Switch to quantified constraints, and eliminate entailment logic #60

Open
conal opened this issue Aug 16, 2020 · 4 comments
Open

Switch to quantified constraints, and eliminate entailment logic #60

conal opened this issue Aug 16, 2020 · 4 comments

Comments

@conal
Copy link
Collaborator

conal commented Aug 16, 2020

Now that GHC has quantified constraints, the tedious constraint entailment logic can probably be eliminated from the implementation. See a similar conversation.

@mikesperber
Copy link
Contributor

I should note I have a patch(-in-progress) for this for the core classes. Needs work in the plugin, however.

@mikesperber
Copy link
Contributor

mikesperber commented Apr 7, 2022

I've pushed the WIP on this here:

https://github.com/mikesperber/concat/tree/quantified-constraints

@mikesperber
Copy link
Contributor

Note that this is awkward and requires CPP, as explained here:

https://mail.haskell.org/pipermail/haskell-cafe/2021-September/134395.html

@mikesperber
Copy link
Contributor

ghc ticket here:

https://gitlab.haskell.org/ghc/ghc/-/issues/20318

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

No branches or pull requests

2 participants