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

Add support for type-checking declarations #29

Open
2 tasks
jespercockx opened this issue Aug 1, 2024 · 0 comments
Open
2 tasks

Add support for type-checking declarations #29

jespercockx opened this issue Aug 1, 2024 · 0 comments

Comments

@jespercockx
Copy link
Owner

Currently the type-checker can only type-check a single term, but eventually we would like to check whole declarations.

  • For definitions, this boils down to checking the type signature + the body.
  • For data types, this means checking the telescopes of parameters and indices, checking the telescope of arguments of each constructor, and checking that the indices are well-typed.
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