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

Add functionality to debug in GHCI #655

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

felixlinker
Copy link
Contributor

This PR adds a monadic infrastructure to inspect and debug constraint system solving. I tried documenting it, but this is always hard for the author.

I would be glad if people could point out further options for documentation. Especially, it might be valuable to point to this means of debugging somewhere. Anybody got ideas for a good place?

@felixlinker
Copy link
Contributor Author

PS: Commit d4149c9 was necessary to make the stack ghci parser happy. I wonder why the errors that I saw didn't appear on stack build, however, without that commit, the parser complained about No instance for GHC.Records.HasField in cases were application of . wasn't properly spaced. I suspect this comes from some field syntax that parses a.b as field access rather than function concatenation.

I suggest (as in #650) to squash and merge to avoid the funny, list commit that I will revert for other branches.

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.

None yet

1 participant