def modify_cell

bendvy-ecs-core@0.1.0.4 · local.bend:56

import bendvy-ecs-core@0.1.0.4/local.bend as Local
import Base

56def modify_cell(~L: Type,cell: Cell<L>,modify: L -> L) -> Cell<L>:
57  match cell:
58    case Cell{local}: Cell{modify(local)}

Uses (1)

Used by (0)

No other definition uses this definition.