def named.of
import ezx@1.11.0.0/src/pub/plan.bend as Planimport Base
299# how the package goes on the hub; a ledger that names no entry sends
300# nothing, so it is taken for one that goes by hash
301def named.of(ledger: Led) -> Named:
302 match ledger:
303 case Led{_e, got}:
304 got
305 case LedNo{_why}:
306 ByHash{}