Fuzion Logo
flang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

forWhile

🌌stream.forWhile

apply 'f' to each element 'e' as long as 'f e'

redefines Sequence.forWhile:
create a new stream and apply 'f' to each element 'e' as long as 'f e'