OrdinaryServiceDeclaration.key: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/ordinary_service_declaration.bend as OrdinaryServiceDeclaration Lines 39-42 of bendvy-ecs-core@0.1.0.4/ordinary_service_declaration.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_service_declaration.bend&start_line=39&end_line=42 import Base # Return the declaration key for metadata, without inspecting or calling P. def key(~S:Data,~R:Type,~P:Type,~Rest:Type,~take:R -> Rest & Slot

,~put:Rest -> Slot

-> R,~call:P -> P,value:Declaration) -> String: match value: case Declaration{_,key}:key Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_service_declaration.bend&name=Declaration https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_service_declaration.bend&name=Slot