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

Split Term #126

Open
wisnesky opened this issue Nov 25, 2018 · 0 comments
Open

Split Term #126

wisnesky opened this issue Nov 25, 2018 · 0 comments
Assignees

Comments

@wisnesky
Copy link
Contributor

If someone is feeling daring and finds it worthwhile, they might try factoring Term like this:

data Path var gen fk =
| Var var
| Gen gen
| Fk fk (Path gen fk)

data Term var ty en sym fk att gen sk =
| Var var
| Sk sk
| Att (Path var gen fk)
| Sym sym (List (Term var ty en sym fk att gen sk))

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

No branches or pull requests

3 participants