Skip to content
This repository has been archived by the owner on Dec 18, 2020. It is now read-only.

Subtyping constraints #11

Open
Bastacyclop opened this issue Jan 14, 2020 · 1 comment
Open

Subtyping constraints #11

Bastacyclop opened this issue Jan 14, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@Bastacyclop
Copy link
Member

Some primitive types are currently under-constrained. Some type variables should only accept scalar types (vector primitives) or basic types (cast primitive). Ideally, type inference and type checking should deal with these constraints.

@Bastacyclop
Copy link
Member Author

We might also want to have constraints on nat values, for example to constrain valid vector widths (#15 (comment)).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant