SagaSaga
Standard Library

Std.IO.Unsafe

Low-level I/O primitives that bypass the Stdio effect. Used internally by handler implementations.

Functions

fun print_stdout : String -> Unit

Writes a string directly to stdout, bypassing the Stdio effect. Use this in custom Stdio handler implementations.

fun print_stderr : String -> Unit

Writes a string directly to stderr, bypassing the Stdio effect. Use this in custom Stdio handler implementations.

read_stdin

fun read_stdin : Unit -> String

Reads a line from stdin, stripping the trailing newline. Use this in custom Stdio handler implementations.