def lens

bendvy-ecs-core@0.1.0.3 · owner_product.bend:28

import bendvy-ecs-core@0.1.0.3/owner_product.bend as OwnerProduct
import 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 (0)

No other definition uses this definition.