Feature.entries: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/feature.bend as Feature Lines 42-48 of bendvy-ecs-core@0.1.0.3/feature.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/feature.bend&start_line=42&end_line=48 import Base import bendvy-ecs-core@0.1.0.3/schema_fragments.bend as SF # List entries from selected features in authored sequence order. Dependency # metadata does not implicitly add those features or their schema entries. def entries(~S:Data,tree:Tree) -> List<&2,SF.Entry>: match tree: case Empty{}: [] case Feature{_,entries,_}: entries case Sequence{left,right}: List.append(&2,SF.Entry,entries(~S,left),entries(~S,right)) Uses (4): 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/feature.bend&name=Tree https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/schema_fragments.bend&name=Entry