def done
import ezx@1.11.0.0/src/share/spin.bend as Spinimport Base
import ezx@1.11.0.0/src/share/say.bend as Say
73# the step finished: the mark stopped and the line left, or the line owed
74def done(spin: Say.Spin) -> IO(Unit):
75 Say.Spin{+term, +pid, +msg} = spin
76 done.bad(Bool.or(String.is_empty(pid), String.eq(pid, "0")), term, pid, msg)