NEWTON

NEWTON


Popular tags

    Will it be possible to invoke functions from within the loops in Cairo 1.0?

    Asked

    5 months ago

    59

    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)_
      cairo 1.0 syntaxdiscordcairo

    Newton

    asked

    5 months ago


    1 answers

    0

    Accepted answer

    that article says that cairo 1.0 isn't released yet

    This answer was originally posted on StarkNet Discord

    Newton

    answered

    5 months ago

    Your answer

    NEWTON

    NEWTON