9.6 Ports

The module Port contains procedures operating on ports.

IsPort

{Port.is +X ?B}

tests whether X is a port.

NewPort

{Port.new Xs ?Port}

returns a new port pointing to the stream Xs.

Send

{Port.send +Port X}

sends X to the port Port: The stream pointed to by Port is unified with X|_ (in a newly created thread), and the pointer advances to the stream's new tail.


Denys Duchier, Leif Kornstaedt and Christian Schulte
Version 1.1.0 (20000207)