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

Fix isNormalized #522

Merged
merged 3 commits into from
Jul 30, 2018
Merged

Fix isNormalized #522

merged 3 commits into from
Jul 30, 2018

Conversation

Gabriella439
Copy link
Collaborator

Fixes #516

00c79f5 and
d287f02 added additional simplifications to
Dhall, but without a matching change to isNormalized. This causes
isNormalized to falsely report that these expressions are normalized when
in fact they can still be normalized. This change fixes that by updating
isNormalized to match the behavior of normalize

Fixes #516

00c79f5 and
d287f02 added additional simplifications to
Dhall, but without a matching change to `isNormalized`.  This causes
`isNormalized` to falsely report that these expressions are normalized when
in fact they can still be normalized.  This change fixes that by updating
`isNormalized` to match the behavior of `normalize`
@Gabriella439
Copy link
Collaborator Author

Note that I'm waiting for #519 to be merged because I'd like to build upon that in this pull request to add a QuickCheck property test verifying that isNormalized and normalize are consistent with one another. I'm just putting up the code for people to review until then

@Gabriella439 Gabriella439 merged commit c04c16c into master Jul 30, 2018
@Gabriella439 Gabriella439 deleted the gabriel/fix_isNormalized branch July 30, 2018 18:19
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.

Reversed logic in BoolAnd etc. cases of isNormalized
1 participant