def wrote
import ezx@1.11.0.0/src/lock/run.bend as Runimport 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")