def identity

bendvy-ecs-core@0.1.0.4 · ordinary_owned_event_declaration.bend:88

import bendvy-ecs-core@0.1.0.4/ordinary_owned_event_declaration.bend as OrdinaryOwnedEventDeclaration
import Base
import bendvy-ecs-core@0.1.0.4/owner_product.bend as Product

88# Advanced builder lens selecting the complete recovery owner with Unit rest.
89# It threads the owner rather than copying it; it does not publish or abort events.
90def identity(~R:Type) -> Product.Lens<R,R,Unit>:Product.Lens{identity_take(~R),identity_put(~R)}

Uses (4)

Used by (1)