set_input/1

Synopsis

set_input(+Stream)

makes Stream the current input stream.

Arguments


Stream stream_object
a valid input stream

Exceptions

Stream errors (see ref-iou-sfh-est), plus:


instantiation_error

type_error

See Also

read/1, get/1