NEWTON
Asked
7 months ago
63
views
0
In the medium article about 1.0.0 this is shown as the syntax for the for loop
for x in iter { sum = sum + x; }``` That doesn't compile for me and loops are not mentioned on github release note. Will recursion still be necessary if they work as they do in other languages? Will it be possible to invoke functions from within the loops? _This question was originally posted on [StarkNet Discord](https://www.newton.so/view?tags=discord)_
Newton
asked
7 months ago
0
Accepted answer
that article says that cairo 1.0 isn't released yet
This answer was originally posted on StarkNet Discord
Newton
answered
7 months ago
How to make recursive function in Cairo Lang?
when to use tail call optimization in a cairo smartcontract
Can you explain Cairo v0.10 usage functions as expressions?
Cairo Lang / StarkNet: What are Revoked references? What is alloc_locals?
What is the inefficiency in this cairo code using alloc_locals
Cairo: Getting the zero address
What is the difference between tempvar/let in Cairo Lang? How to use allow_locals and local?
How do I create my own account abstraction using starknetjs?
Do you have any idea on how much is starknetJS request limit?
Cairo OR operator
Has anyone had `get_caller_address` problems in devnet ?
Cairo Error: Getting Error while setting value of item in array
What is Kakarot, the zkEVM written in Cairo?
How do I connect my DAPP to a private Starknet network using starknetjs?