def value_write_field
import bendvy-ecs-core@0.1.0.3/capabilities.bend as Capabilitiesimport Base
86# Advanced setup projection extracting the closed operation from its grant.
87# Does not invoke it, access World or grant capabilities beyond that value.
88def value_write_field(~H: Type,~C: Type,~V: Data,cap: ValueWrite<H,C,V>) -> H -> C -> H:
89 match cap:
90 case ValueWrite{_,set}: set