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 warnings revealed by v0.14.1 PS release #56

Merged
merged 4 commits into from
May 6, 2021
Merged

Fix warnings revealed by v0.14.1 PS release #56

merged 4 commits into from
May 6, 2021

Conversation

JordanMartinez
Copy link
Contributor

Description of the change

Backlinking to purescript-contrib/governance#37


Checklist:

  • Added the change to the changelog's "Unreleased" section with a link to this PR and your username
  • Linked any existing issues or proposals that this pull request should close
  • Updated or added relevant documentation in the README and/or documentation directory
  • Added a test for the contribution (if applicable)

@@ -90,7 +90,7 @@ checkHeytingAlgebra _ = do
absorption op1 op2 a b = (a `op1` (a `op2` b)) == a

idempotent ∷ (a → a → a) → a → a → Boolean
idempotent op a b = a `op` a == a
idempotent op a _ = a `op` a == a
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm pretty sure the real fix here is to not include a second b argument of type a.

Copy link
Contributor

Choose a reason for hiding this comment

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

@garyb Do you have thoughts on this? I'm going to go ahead and merge to make the warnings release, but please let us know if this is incorrect!

@thomashoneyman thomashoneyman merged commit 7e3d40d into purescript-contrib:main May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants