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

GHC 7.10.2 panic #219

Open
thumphries opened this issue Apr 3, 2017 · 0 comments
Open

GHC 7.10.2 panic #219

thumphries opened this issue Apr 3, 2017 · 0 comments
Labels

Comments

@thumphries
Copy link
Contributor

GHC 7.10.2 has been unhelpfully exploding on some very large templates. I have not yet observed this happening with 8.0.2, and believe it to be a GHC bug fixed upstream.

I've partially addressed this by improving the simplifier, but this is not a sufficient fix. Users may need to work around this as it arises by breaking huge templates down into smaller ones. Not good!

I think the long-term fix is to just upgrade to 8.0. We might be able to put it off a bit longer by hoisting common subexpressions or breaking large terms into smaller ones automatically. We could also fix it structurally by generating bytecode or C instead of Haskell, but that would be more work than just upgrading.

@thumphries thumphries added the bug label Apr 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant