baml.io.print

Write `s` to stdout with no trailing newline. Flushes immediately so the bytes are visible before the next sysop or await suspends the thread.

Reference version

Signature

function baml.io.print(s: string) -> null throws never

Write s to stdout with no trailing newline. Flushes immediately so the bytes are visible before the next sysop or await suspends the thread.

Panics

  • baml.panics.HostUnavailable if stdout cannot be written

Source:<builtin>/baml/ns_io/io.bamlbytes 842–914