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

Remove EarlyGoalError and tuple evaluation #25

Conversation

brandonwillard
Copy link
Member

@brandonwillard brandonwillard commented Feb 22, 2020

Closes #10.

These changes break all of the old API and effectively make this an entirely different implementation of miniKanren. At the very least, these changes will come with a new major version number.

It also removes the arith module/goals and the prime.py example. Both consisted of marginally useful non-relational goals that should be implemented outside of the kanren package, or—at best—implemented as constraints (e.g. an addo(x, y, z) goal that constructs a constraint to evaluate add(x, y) == z when x, y, and z are ever ground).

@brandonwillard brandonwillard merged commit feb3499 into pythological:master Feb 24, 2020
@brandonwillard brandonwillard deleted the remove-evalt-and-earlygoalerror branch February 24, 2020 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace Lisp-emulation and exception-based goal constraints
1 participant