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



stdin -- effect providing several features
for consuming the given byteInputHandler

for a stdin instance installed in the current environment,
install next instance of byteInputHandler,
'stdin.env' will provide the new instance.

read n codepoints from stdin
may return less than n bytes if end of file is reached
or error if stdin can not be read right now

read from stdin until end of line or end of file
returns an error if stdin is already depleted = end of file
NYI read_line should probably filter carriage returns