Skip to content

Trivial solution for trivial goals. #9

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

luke-clifton
Copy link

The [Test] passed to the solve function is a conjuction of tests.
In a similar vein to all, an empty list should mean that the condition
was met. That is, all the conditions in the list were met, there just
weren't any conditions.

This comes up when you want to create a problem which is attempting to
find a plan between two [a]s. The [] to [] case will result in a
failure to solve due to no goals being set.

The `[Test]` passed to the `solve` function is a conjuction of tests.
In a similar vein to `all`, an empty list should mean that the condition
was met. That is, all the conditions in the list were met, there just
weren't any conditions.

This comes up when you want to create a problem which is attempting to
find a plan between two `[a]`s. The `[]` to `[]` case will result in a
failure to solve due to no goals being set.
@luke-clifton
Copy link
Author

I raised this more to start discussion than actually proposing a way to do this. Perhaps there just needs to be a shift in the way the input is fed to downward when there are no goals.

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.

1 participant