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

Investigate support for recursive definitions #25

Open
brandon-leapyear opened this issue Apr 27, 2020 · 1 comment
Open

Investigate support for recursive definitions #25

brandon-leapyear opened this issue Apr 27, 2020 · 1 comment

Comments

@brandon-leapyear
Copy link
Contributor

brandon-leapyear commented Apr 27, 2020

Investigate if it would be possible to support

type Person = [schema|
  {
    parents: List #Person,
  }
|]
@brandon-leapyear
Copy link
Contributor Author

brandon-leapyear commented Aug 1, 2020

This is an old work account. Please reference @brandonchinn178 for all future communication


Maybe we could also introduce using the schema quasiquoter to generate Q [Dec], like

[schema|
Person: {
  parents: List #Person
}
|]

and we could generate both the type Person = definition, and reference the same name in the schema

Repository owner deleted a comment from brandonchinn178 Aug 1, 2020
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

1 participant