flang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.
Fuzion
•
Idioms
•
Idiom # 242: Iterate over a set
Idiom # 242: Iterate over a set
See
programming-idioms.org
:
Code
x | (a -> f a)
What are effects?
Running Example
ex242 is x := container.set_of_ordered [0, 8, 15, 47, 11] f(x i32) => say "element is $x" x | (a -> f a)
What are effects?
next: Idiom # 243: Print list