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

Improve vectors on the wires functionality #113

Open
slibkind opened this issue Aug 17, 2022 · 1 comment
Open

Improve vectors on the wires functionality #113

slibkind opened this issue Aug 17, 2022 · 1 comment

Comments

@slibkind
Copy link
Collaborator

Currently, the approach to allowing vectors on the wires is to have every wire carry a vector of the same length which is specified in the type parameter. This structuring has some downsides related to type checking and constructors of machines (see for example PR #112).

Specifying vector passing as part of the interface type, instead of as a type parameter for example, makes the hierarchy of interfaces clunky.

Finally, we would like to add support for vectors of different lengths along the wires.

@jpfairbanks
Copy link
Member

@tylerhanks, here is an issue caused by poor support for bundling. The approach you are thinking of involving Cospan(Set/Naturals)would be very helpful in improving support for wires that carry vectors.

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

2 participants