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 @fail #188

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

Remove @fail #188

wants to merge 1 commit into from

Conversation

kris-brown
Copy link
Collaborator

This is a partial step towards moving away from static typechecking of instances (we will be dynamically checking whether a model implements a theory in the future). The @fail macro was supposed to be helpful way to make getting the context of an error in the validation methods (overloads of the names of type constructors). It required some macro + closure trickery that's ultimately too difficult to maintain while making other required changes to GATlab for the Catlab refactor.

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