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

Support type aliases #3

Open
flupe opened this issue Jan 24, 2025 · 0 comments
Open

Support type aliases #3

flupe opened this issue Jan 24, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@flupe
Copy link
Collaborator

flupe commented Jan 24, 2025

The typed lambox target supports compiling type schemes (i.e definitions whose type is an arity) into type aliases.

See section 5.1.1 (https://arxiv.org/pdf/2108.02995).

We have TypeAliasDecl in our environment AST, let's support those.

Note: there's no point in compiling logical type schemes, i.e type aliases that produce propositions.
So really, the type schemes that should be supported must have a type that is an arity into Type.

@flupe flupe added the enhancement New feature or request label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant