I/O Package Reference io
Provides I/O functions for console and files (file I/O has not been implemented yet).
Outputs a new line to the console.
Guard
Inputs a term from the console, and unifies it with X.
Guard
Outputs X to the console.
Waits until X is instantiated and contains no variable.
Guard
Outputs X, and then a new line, to the console.
Waits until X is instantiated and contains no variable.
Guard
Sequentially processes the I/O commands cast into the stream Xs.
The I/O commands have the same forms and meanings as I/O Primitives.
A user may need to type in as a result of seeing outputs on the console, so that instream needs to process sequentially all kinds of I/O commands.
Body
Sequentially processes the output commands cast into the stream Xs.
The output commands have the same forms and meanings as I/O Primitives, but do not include read.
Body
Outputs X to the console.
Waits until X is instantiated and contains no variable.
Body
Outputs X, and then a new line, to the console.
Waits until X is instantiated and contains no variable.
Body
Outputs to the console the content of the stream Xs sequentially from its top, each with a new line.
Body