fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.
Fuzion
•
Idioms
•
Idiom # 258: Convert list of strings to list of integers
Idiom # 258: Convert list of strings to list of integers
See
programming-idioms.org
:
Code
Code input
b := a.map s->s.parse_i32.val
What are effects?
Running Example
Code input
ex258 is a := ["0", "8", "15", "47", "11"] b := a.map s->s.parse_i32.val say "$a -> $b"
What are effects?
last changed: 2025-05-13
next: Idiom # 259: Split on several separators