def ent_for
import cswap-bend-cli@0.1.0.0/daemon/view.bend as Viewimport Base
import cswap-bend-cli@0.1.0.0/daemon/gather.bend as G
169def ent_for(+es: List<&2, G.Ent>, +slot: String) -> Maybe<&2, G.Ent>:
170 match es:
171 case Nil{}:
172 None{}
173 case Con{e, t}:
174 ent_pick(e, slot, ent_for(t, slot))