Skip to main content
Version: Next

io

print: (_: string) => unit

Prints an string to stdout.

println: (_: string) => unit

Prints a string to stdout, ended with a newline.

eprint: (_: string) => unit

Prints a string to stderr.

eprintln: (_: string) => unit

Prints a string followed by a newline character to stderr.

log: <a>(_: a) => unit

Logs a value.

set_test_print: (_: unit) => unit

Turns on the printing of test prefixed values at the end of tests. This is the default behaviour.

unset_test_print: (_: unit) => unit

Turns off the printing of test prefixed values at the end of tests.