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

[Feature] Array Concatenation. #1984

Open
wants to merge 3 commits into
base: testnet3
Choose a base branch
from
Open

[Feature] Array Concatenation. #1984

wants to merge 3 commits into from

Conversation

d0cd
Copy link
Contributor

@d0cd d0cd commented Sep 14, 2023

This PR supports concatenating two arrays via the concat instruction.

concat r0 r1 into r2 as [boolean; 8u32];

Note that users must specify the target type.

An alternate design choice was considered:

concat r0 r1 into r2;

However, the first solution was favored as it makes the types explicit.

@d0cd d0cd marked this pull request as ready for review September 15, 2023 04:21
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 this pull request may close these issues.

None yet

1 participant