Idiom # 11: Pick a random element from a list
See programming-idioms.org:
A random number in Fuzion is obtained via the effect random
,
operation next_i32
returns a positive integer smaller than the
argument.
Code
Running Example
last changed: 2025-05-13