def replace_cell
import bendvy-ecs-core@0.1.0.4/local.bend as Localimport Base
53def replace_cell(~L: Type,cell: Cell<L>,local: L) -> Cell<L>:
54 match cell:
55 case Cell{old}: Cell{local}
import bendvy-ecs-core@0.1.0.4/local.bend as Localimport Base
53def replace_cell(~L: Type,cell: Cell<L>,local: L) -> Cell<L>:
54 match cell:
55 case Cell{old}: Cell{local}