def warn.err

ezx@1.11.0.0 · src/share/cap.bend:84

import ezx@1.11.0.0/src/share/cap.bend as Cap
import Base

84# the same warning on stderr, for a command whose stdout is the program's
85def warn.err(on: Bool) -> IO(Unit):
86  match on:
87    case True{}:
88      IO.pure(Unit, Unit{})
89    case False{}:
90      IO.print_err(warning())

Uses (6)

Used by (1)