In the contract How do I execute a for loop like ETH

Hello, everyone
When Referring to the ETH contract code, I found that there was a for loop in the ETH, but not in AE. How should I do the loop operation in AE?

@hanssv.chain You know what?

Loops are solved by recursion in a functional language…

For convenience there is the List standard library: aesophia/sophia_stdlib.md at lima · aeternity/aesophia · GitHub

1 Like