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

Also add Number-Qualifiers for Objects like in C++ templates? #38

Open
porky11 opened this issue Jul 4, 2016 · 0 comments
Open

Also add Number-Qualifiers for Objects like in C++ templates? #38

porky11 opened this issue Jul 4, 2016 · 0 comments

Comments

@porky11
Copy link

porky11 commented Jul 4, 2016

So you could write something like Tuple<3,Int> instead of [Int,Int,Int]
and also create multiple similar types like this:

defstruct mover<N,T> :
  pos : Tuple<N T> ;may also be other similar Types
  vel : Tuple<N T>

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