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

Existential Quantification #45

Closed
wants to merge 25 commits into from

Conversation

CodaFi
Copy link
Member

@CodaFi CodaFi commented Jun 6, 2015

An exploration (and hopefully, eventual solution) to #43.

@CodaFi
Copy link
Member Author

CodaFi commented Jun 6, 2015

I... Think I've done it!

@CodaFi
Copy link
Member Author

CodaFi commented Jun 6, 2015

OK, caveats:

This is not real existential quantification. That would be impossible (or I'd at least win some kind of award, possibly named after Turing and padding my bank account considerably). The question now is do we treat a failing naïve search as a real failure or do the ScalaCheck thing and add an Ambiguity clause to Result?

/// Uniqueness Quantification ("there exists one and only one")
// case Uniqueness
/// Counting Quantification ("there exist exactly k")
// case Counting
Copy link
Contributor

Choose a reason for hiding this comment

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

If you do add these, I suggest you just do Counting. I don’t think Uniqueness adds much to the interface and, presumably the implementation of Counting would subsume Uniqueness.

@CodaFi
Copy link
Member Author

CodaFi commented Sep 27, 2015

Welp, this is kinda strange... Travis doesn't seem to think this branch exists. I'll try again in a different pull request.

@CodaFi CodaFi closed this Sep 27, 2015
@CodaFi CodaFi deleted the existential-questions branch September 3, 2016 19:21
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.

None yet

2 participants