Skip to content

extending array while in parallel-reduce block #1185

Answered by jeapostrophe
alcyoneus-g asked this question in Q&A
Discussion options

You must be logged in to vote

Variables can only have one type. So you can't change x from Address[5] into Address[6]. I think you could do Maybe<Address>[N]. Or you could use a Map and a count.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@alcyoneus-g
Comment options

@jeapostrophe
Comment options

@alcyoneus-g
Comment options

@alcyoneus-g
Comment options

@jeapostrophe
Comment options

Answer selected by jeapostrophe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants