fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.
Fuzion
•
Idioms
•
Idiom # 279: Read list of strings from the standard input
Idiom # 279: Read list of strings from the standard input
See
programming-idioms.org
:
Code
lm : mutate is lines := lm ! ()-> (io.stdin.reader lm) ! ()-> (io.buffered lm).read_lines
What are effects?
Runnable Example
ex279 is lm : mutate is lines := lm ! ()-> (io.stdin.reader lm) ! ()-> (io.buffered lm).read_lines say lines
What are effects?
last changed: 2025-07-10
next: NYI: Idiom # 280: Filter map