def read

ezx@1.11.0.0 · src/ez/start.bend:76

import ezx@1.11.0.0/src/ez/start.bend as Start
import Base
import ezx@1.11.0.0/src/ledger/manifest.bend as M

76# what a command does with the ledger it read
77def read(+ask: Ask, ledger: M.Read) -> Start:
78  match ledger:
79    case M.Bad{why}:
80      Refused{"ez: " ++ M.show(M.Bad{why})}
81    case M.Good{+m}:
82      Starts{line(ask, m)}

Uses (6)

Used by (1)