ExecutionComposerSchema.layout_entries: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/execution_composer_schema.bend as ExecutionComposerSchema Lines 24-29 of bendvy-ecs-core@0.1.0.3/execution_composer_schema.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/execution_composer_schema.bend&start_line=24&end_line=29 import Base import bendvy-ecs-core@0.1.0.3/schema_fragments.bend as Fragment import bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend as Layout def layout_entries(~S:Data,+kind:Fragment.RegistryKind,layout:Layout.Layout) -> List<&2,Fragment.Entry>: match layout: case Layout.EmptyLayout{}:[] case Layout.LayoutLeaf{_,_,_,+key,_}:[Fragment.Entry{kind,key,key}] case Layout.ClassifiedLayoutLeaf{_,_,_,+key,persistence,_}:[Fragment.Classified{kind,key,key,persistence}] case Layout.LayoutPair{left,right}:List.append(&2,Fragment.Entry,layout_entries(~S,kind,left),layout_entries(~S,kind,right)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.append https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend&name=Layout https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/schema_fragments.bend&name=Entry https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/schema_fragments.bend&name=RegistryKind