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

Add law functions #111

Closed
wants to merge 5 commits into from
Closed

Add law functions #111

wants to merge 5 commits into from

Conversation

hdgarrood
Copy link
Contributor

WIP. This will fix #110 when it's done.

I'd appreciate a quick review now just to check that we agree on this style before I go ahead and do all the others in the same way.

@garyb
Copy link
Member

garyb commented Jan 29, 2017

Nice 👍

@hdgarrood hdgarrood changed the title Add HeytingAlgebra laws Add law functions Jan 29, 2017
@hdgarrood
Copy link
Contributor Author

Come to think of it, I wonder if a better formulation would be returning a { lhs :: a, rhs :: a } for the appropriate type a? That way, you're free to use some other form of equality checking. E.g. if both sides evaluate to functions of some kind, you might also generate a number of inputs and check those functions agree for all the inputs. Or if a was Number, you could use an approximate equality function.

@hdgarrood
Copy link
Contributor Author

I'm going to close this for now since it's not had any progress in almost two years now (!)

@hdgarrood hdgarrood closed this Jan 20, 2019
@hdgarrood hdgarrood mentioned this pull request Mar 4, 2019
@hdgarrood hdgarrood deleted the law-functions branch September 17, 2020 20:09
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.

Export law functions?
2 participants