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 a vector type to the type system #4734

Closed
onelson opened this issue May 10, 2022 · 0 comments · Fixed by #4873
Closed

Add a vector type to the type system #4734

onelson opened this issue May 10, 2022 · 0 comments · Fixed by #4873
Assignees

Comments

@onelson
Copy link
Contributor

onelson commented May 10, 2022

This is in support of vectorizing float() calls, #4603

Since we're going to be adding a new builtin to flux that will accept a vector of values and return a vector of floats (in this case), the parser and type system need to understand what a vector is.

For example, the signature we're adding might be like:

builtin _vecFloat : (v: vec[T]) => vec[float]
@Marwes Marwes self-assigned this Jun 14, 2022
Marwes pushed a commit that referenced this issue Jun 14, 2022
Marwes pushed a commit that referenced this issue Jun 14, 2022
* feat: Allow vector types to be specified in flux source

Closes #4734

* chore: make generate
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

Successfully merging a pull request may close this issue.

2 participants