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

Use realIdUnfolding instead of idUnfolding #181

Open
xich opened this issue Dec 6, 2016 · 0 comments
Open

Use realIdUnfolding instead of idUnfolding #181

xich opened this issue Dec 6, 2016 · 0 comments

Comments

@xich
Copy link
Member

xich commented Dec 6, 2016

GHC's idUnfolding function checks to see if the function is a loop breaker and does not return an unfolding if so. HERMIT doesn't want this. It turns out there is a realIdUnfolding function which bypasses the check.

Codemod any instances of idUnfolding and ensure it doesn't cause any infinite loops.

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

1 participant