Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Iteration over struct #134

Closed
tekkac opened this issue May 20, 2022 · 0 comments · Fixed by #163
Closed

Iteration over struct #134

tekkac opened this issue May 20, 2022 · 0 comments · Fixed by #163
Labels
Difficulty: intermediate mobilise some notions about the field, but can be learned while doing Duration: under a day wil take up to one day good first issue Good for newcomers State: open ready for contribution Techno: cairo cairo Type: feature a new feature to implement

Comments

@tekkac
Copy link
Contributor

tekkac commented May 20, 2022

Description

Create a recursion exercise on iteration over structs using arrays pointers.
The exercise should use MyStruct.SIZE in the loop call and recover the struct using type casting.

Resources:

Acceptance criteria

  • The exercise explains how to loop through a struct array using recursion
  • The contract compiles and tests pass
  • An exercise patch is generated
@tekkac tekkac added Type: feature a new feature to implement Duration: under a day wil take up to one day Difficulty: intermediate mobilise some notions about the field, but can be learned while doing Techno: cairo cairo State: open ready for contribution labels May 20, 2022
@tekkac tekkac added the good first issue Good for newcomers label May 30, 2022
@tdelabro tdelabro linked a pull request May 30, 2022 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Difficulty: intermediate mobilise some notions about the field, but can be learned while doing Duration: under a day wil take up to one day good first issue Good for newcomers State: open ready for contribution Techno: cairo cairo Type: feature a new feature to implement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant