def led.named
import ezx@1.11.0.0/src/pub/plan.bend as Planimport Base
256# the entry, with the name the package goes under, or why it goes under none
257def led.named(+entry: String, got: Named) -> Led:
258 match got:
259 case ByHash{}:
260 Led{entry, ByHash{}}
261 case ByName{nv}:
262 Led{entry, ByName{nv}}
263 case Unnamed{why}:
264 LedNo{why}