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

feat: Cairo cheatsheet #102

Open
julio4 opened this issue Oct 20, 2023 · 6 comments
Open

feat: Cairo cheatsheet #102

julio4 opened this issue Oct 20, 2023 · 6 comments

Comments

@julio4
Copy link
Contributor

julio4 commented Oct 20, 2023

Could be a section in chapter 0 with lots of small, concise examples (Similar to Solidity By Example) showing the multiple uses possible of various useful Cairo syntax.

Non-exhaustive list:

  • match
  • loop
  • felt
  • type casting
  • arrays
  • dict
@Nonnyjoe
Copy link
Contributor

Hi, I'll like to handle this

@julio4
Copy link
Contributor Author

julio4 commented Oct 27, 2023

Thank you very much. Please keep it concise!

@Nonnyjoe
Copy link
Contributor

Sure I'll do that

@julio4
Copy link
Contributor Author

julio4 commented Oct 31, 2023

#104 introduced cairo cheatsheet
We keep this issue open for any further additions

@julio4
Copy link
Contributor Author

julio4 commented Nov 27, 2023

After some discussion in #126, we will make the examples of this part not contracts but only cairo programs.
Either hide the contract part with mdbook anchors, or just plain cairo programs.

@jrmncos
Copy link

jrmncos commented Jun 6, 2024

hey, is there any improvement to do here? I would like to take it

@LamsyA LamsyA mentioned this issue Jul 20, 2024
2 tasks
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

3 participants