Companion

object Companion

Functions

Link copied to clipboard
fun <T : Any> of(consumer: (T) -> Unit): OutputChannel<T>

Creates an OutputChannel delegating every write to consumer.

Link copied to clipboard

The platform-specific standard error channel (System.err on the JVM; console.error on JS).

Link copied to clipboard

The platform-specific standard output channel (System.out on the JVM; console.log/print on JS).

Link copied to clipboard

Builds the $stream(out, Id) Struct term identifying an output channel, given its optional id.

Link copied to clipboard

The platform-specific channel it.unibo.tuprolog.solve.exception.Warnings are reported to by default.