ys::io - The YS Stream I/O Library🔗
The ys::io library reads from open input handles and writes to the standard
output streams.
It does not expose clojure.java.io or open filesystem paths.
use io: :all
Stream Input🔗
readline(Reader) → Str?— Read one line, returning nil at end of input
Stream Output🔗
err(Str*) → nil— Print to stderr without a newlineout(Str*) → nil— Print to stdout without a newlineprint(Str*) → nil— Print to stdout without a newlinesay(Str*) → nil— Print to stdout with a newlinewarn(Str*) → nil— Print to stderr with a newline
The standard readline() proxy reads from IN.
Pass an explicit input handle as IN:readline or fh:readline.