fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.
Fuzion
•
Idioms
•
Idiom # 351 Create a zipped collection
Idiom # 351 Create a zipped collection
See
programming-idioms.org
:
Code
Code input
z := a.zip b tuple2
What are effects?
Runnable Example
Code input
ex351 is a := 1..3 b := 7..9 z := a.zip b tuple2 # printing a tuple currently requires this workaround say (z.map x->"({x.0}, {x.1})") # as_string on a tuple creates a generic output with the types say z
What are effects?
last changed: 2025-07-10
next: NYI: Idiom # 352 Parallelize 3 computations