fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.
Fuzion
•
Idioms
•
Idiom # 356 Parse list of integers
Idiom # 356 Parse list of integers
See
programming-idioms.org
:
Code
Code input
items := s.split.map (.parse_i32)
What are effects?
Runnable Example
Code input
ex356 is s := "42 -1 -0 +13 123456" items := s.split.map (.parse_i32) say items
What are effects?
last changed: 2025-07-10
next: NYI: Idiom # 357 Swap elements of list