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

Document Undecidable Instance #34

Open
megamaddu opened this issue Mar 20, 2018 · 1 comment
Open

Document Undecidable Instance #34

megamaddu opened this issue Mar 20, 2018 · 1 comment
Labels
status: needs more info This issue needs more info before any action can be done. type: documentation Improvements or additions to documentation.

Comments

@megamaddu
Copy link

megamaddu commented Mar 20, 2018

I ran into an issue using multiple deletes to compose a Builder because of the underlying Type.Row constraints:
http://try.purescript.org/?gist=c566077f18d0d9ddbd99d3c79d1cfd4a

@paf31 came up with these explicit annotations to fix it:
http://try.purescript.org/?gist=faf2fd6edfa06949831b0be85d91af43

I think @paf31 was saying this was a compiler issue but it'd be good to document the danger here.

@paf31
Copy link
Contributor

paf31 commented Mar 20, 2018

The issue seems to be the usual one with undecidable instances - committing to an undecidable instance before all type information is available. We have a more specific instance in the context which should be picked.

So whether this is a compiler issue remains to be decided, but we could address this here with a comment explaining the risk perhaps.

@JordanMartinez JordanMartinez added status: needs more info This issue needs more info before any action can be done. type: documentation Improvements or additions to documentation. labels Dec 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs more info This issue needs more info before any action can be done. type: documentation Improvements or additions to documentation.
Projects
None yet
Development

No branches or pull requests

3 participants