Skip to main content

Module io

Module io 

Source
Expand description

std::io - input/output: reading from stdin, reading/writing files, printing.

print and println write to [Evaluator::output_buffer] when set (LSP/REPL), otherwise they write directly to stdout.

eprint raises a runtime error rather than writing to stderr, so errors surface through rlโ€™s normal error reporting pipeline.

Modulesยง

append_file ๐Ÿ”’
delete_file ๐Ÿ”’
eprint ๐Ÿ”’
input ๐Ÿ”’
print ๐Ÿ”’
println ๐Ÿ”’
read_bytes ๐Ÿ”’
read_file ๐Ÿ”’
read_lines ๐Ÿ”’
write_file ๐Ÿ”’

Constantsยง

KEYWORDS

Functionsยง

module