def wrote

ezx@1.11.0.0 · src/lock/run.bend:584

import ezx@1.11.0.0/src/lock/run.bend as Run
import Base

584# a write that did not happen stops the command
585def wrote(ok: Bool, +at: String) -> IO(Unit):
586  match ok:
587    case True{}:
588      IO.pure(Unit, Unit{})
589    case False{}:
590      IO.die(Unit, 1, "ez: " ++ at ++ " could not be written")

Uses (7)

Used by (1)