def said
import ezx@1.11.0.0/src/sha/dump.bend as Dumpimport Base
11# a command's output as it printed it, or the walk stopped with why it failed
12def said(ok: Bool, +why: String, +text: String) -> IO(String):
13 match ok:
14 case False{}:
15 IO.die(String, 1, "ez: nar hash: " ++ why ++ text)
16 case True{}:
17 IO.pure(String, text)