def lens
import bendvy-ecs-core@0.1.0.4/owner_product.bend as OwnerProductimport Base
28def lens(~L:Type,~R:Type,~path:Path) -> Lens<Owner<L,R>,Part(~L,~R,path),Rest(~L,~R,path)>:
29 Lens{owner=>take(~L,~R,path,owner),rest=>part=>put(~L,~R,path,rest,part)}
Uses (7)
Used by (14)
- bendvy-ecs-core@0.1.0.4/ordinary_owned_event_binding:right_path
- bendvy-ecs-core@0.1.0.4/ordinary_owned_event_binding:left_path
- bendvy-ecs-core@0.1.0.4/ordinary_owned_event_family_resource:lens
- bendvy-ecs-core@0.1.0.4/ordinary_recovery_resource:target
- bendvy-ecs-core@0.1.0.4/ordinary_app_schema_product:counter_lens
- …