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

Replace & remove runUnion #164

Merged
merged 6 commits into from
May 16, 2019
Merged

Conversation

quasicomputational
Copy link
Collaborator

runUnion stops GHC helping us out with case exhaustivity checking.

In the course of making this PR and getting the benefit of GHC's assistance, I discovered that we weren't handling AArch64 properly, which is an obvious and easily corrected oversight.

It's also made two other incomplete matches visible, but they're slightly less obviously corrected. As this PR isn't making things worse, only revealing problems that already existed, I've elected to leave those as they are.

@quasicomputational
Copy link
Collaborator Author

Oh yeah, this closes #84. I knew I'd talked about this somewhere before.

Copy link
Member

@ocharles ocharles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm on board with this. It might have been a cute solution at the start, but it's time to replace it with something more verbose to get the compiler help 👍

@ocharles ocharles merged commit 6e885a0 into dhall-lang:master May 16, 2019
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.

2 participants