def say

bolt@1.27.0.0 · src/stop.bend:7

import bolt@1.27.0.0/src/stop.bend as Stop
import Base
import bolt@1.27.0.0/src/args.bend as Args

7# a text on its stream
8def say(to: Args.Stream, text: String) -> IO(Unit):
9  match to:
10    case Args.Line{}:
11      IO.print(text)
12    case Args.Page{}:
13      IO.write(text)
14    case Args.Err{}:
15      IO.print_err(text)

Uses (7)

Used by (1)