There is surprisingly no straightforward solution but here are three different approaches you might use:
https://www.guidedtrack.com/programs/15666/edit
This approach does not use actual *list:
>> i = 1
*while: i <= fruits.size
• {fruits[i]}
>> i = i + 1
This approach creates *list for each element, it won't work for ordered lists.
>> i = 1
*while: i <= fruits.size
*list
{fruits[i]}
>> i = i + 1
This one is a trick to act as if we generate list dynamically. With this approach you can have expandable or enumerated lists.
>> collection = fruits
*program: list of variable length
list of variable length program.